home *** CD-ROM | disk | FTP | other *** search
MetaCard/Revolution Stack | 2002-04-05 | 304.1 KB | [RSTK/Revo] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MetaCard/Revolution Stack
(archive/metaCardStack).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| MetaCard/Revolution Stack (archive/metaCardStack)
| magic
| Unsupported |
100%
| file
| POSIX shell script executable (binary data)
| default
| |
99%
| file
| a /bin/sh script executable (binary data)
| default (weak)
| |
98%
| file
| data
| default
| |
75%
| TrID
| MetaCard/Revolution stack (old)
| default
| |
25%
| TrID
| Linux/UNIX shell script
| default
| |
100%
| siegfried
| fmt/1918 MetaCard Stack (2.x)
| default
| |
100%
| binwalkID
| Executable script, shebang: "/bin/sh"
| default (weak)
| |
100%
| xdgMime
| application/x-shellscript
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [RSTK] |
macFileCreator | [Revo] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 23 21 2f 62 69 6e 2f 73 | 68 0a 23 20 4d 65 74 61 |#!/bin/s|h.# Meta|
|00000010| 43 61 72 64 20 32 2e 34 | 20 73 74 61 63 6b 0a 23 |Card 2.4| stack.#|
|00000020| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 69 | The fol|lowing i|
|00000030| 73 20 6e 6f 74 20 41 53 | 43 49 49 20 74 65 78 74 |s not AS|CII text|
|00000040| 2c 0a 23 20 73 6f 20 6e | 6f 77 20 77 6f 75 6c 64 |,.# so n|ow would|
|00000050| 20 62 65 20 61 20 67 6f | 6f 64 20 74 69 6d 65 20 | be a go|od time |
|00000060| 74 6f 20 71 20 6f 75 74 | 20 6f 66 20 6d 6f 72 65 |to q out| of more|
|00000070| 0c 0a 65 78 65 63 20 6d | 63 20 24 30 20 22 24 40 |..exec m|c $0 "$@|
|00000080| 22 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |".......|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00000100| 02 00 00 03 00 00 05 1a | 00 0a 72 65 76 53 63 72 |........|..revScr|
|00000110| 69 70 74 00 00 00 88 10 | 00 02 0a 00 00 75 00 05 |ipt.....|.....u..|
|00000120| 00 00 00 00 00 00 00 06 | 42 6c 61 63 6b 00 66 66 |........|Black.ff|
|00000130| 66 66 66 66 00 00 ff ff | ff ff ff ff 00 06 77 68 |ffff....|......wh|
|00000140| 69 74 65 00 80 80 80 80 | 80 80 00 00 a9 a9 a9 a9 |ite.....|........|
|00000150| a9 a9 00 09 64 61 72 6b | 67 72 61 79 00 80 00 01 |....dark|gray....|
|00000160| 97 00 8a 01 e7 01 2e 00 | 00 00 03 09 72 65 76 73 |........|....revs|
|00000170| 74 61 63 6b 00 00 05 66 | 61 6c 73 65 09 63 4d 69 |tack...f|alse.cMi|
|00000180| 6e 52 65 63 74 00 00 0f | 34 30 39 2c 32 34 30 2c |nRect...|409,240,|
|00000190| 38 36 39 2c 36 30 33 09 | 72 65 76 62 61 73 69 63 |869,603.|revbasic|
|000001a0| 00 00 05 66 61 6c 73 65 | 00 00 00 00 00 00 00 00 |...false|........|
|000001b0| 00 00 00 2b 00 0e 00 55 | 00 0f 4d 53 20 53 61 6e |...+...U|..MS San|
|000001c0| 73 20 53 65 72 69 66 66 | 00 00 0a 00 55 00 0f 4d |s Seriff|....U..M|
|000001d0| 53 20 53 61 6e 73 20 53 | 65 72 69 66 66 00 00 0b |S Sans S|eriff...|
|000001e0| 00 55 00 0c 43 6f 75 72 | 69 65 72 20 4e 65 77 00 |.U..Cour|ier New.|
|000001f0| 00 0c 00 55 00 0c 43 6f | 75 72 69 65 72 20 4e 65 |...U..Co|urier Ne|
|00000200| 77 00 00 0a 00 57 00 0f | 4d 53 20 53 61 6e 73 20 |w....W..|MS Sans |
|00000210| 53 65 72 69 66 66 00 00 | 0c 00 57 00 0f 4d 53 20 |Seriff..|..W..MS |
|00000220| 53 61 6e 73 20 53 65 72 | 69 66 66 00 00 0b 00 57 |Sans Ser|iff....W|
|00000230| 00 0f 4d 53 20 53 61 6e | 73 20 53 65 72 69 66 66 |..MS San|s Seriff|
|00000240| 00 00 0a 00 55 00 07 47 | 65 6e 65 76 61 00 00 0a |....U..G|eneva...|
|00000250| 00 55 00 0c 43 6f 75 72 | 69 65 72 20 4e 65 77 00 |.U..Cour|ier New.|
|00000260| 00 09 00 55 00 07 47 65 | 6e 65 76 61 00 00 0e 00 |...U..Ge|neva....|
|00000270| 55 00 0a 48 65 6c 76 65 | 74 69 63 61 00 00 0b 00 |U..Helve|tica....|
|00000280| 55 00 07 47 65 6e 65 76 | 61 00 00 0b 00 55 00 08 |U..Genev|a....U..|
|00000290| 63 6f 75 72 69 65 72 00 | 00 0c 00 55 00 08 63 6f |courier.|...U..co|
|000002a0| 75 72 69 65 72 00 00 0a | 00 55 00 08 63 6f 75 72 |urier...|.U..cour|
|000002b0| 69 65 72 00 00 0a 00 55 | 00 07 6d 6f 6e 61 63 6f |ier....U|..monaco|
|000002c0| 00 00 0c 00 55 00 07 6d | 6f 6e 61 63 6f 00 00 0b |....U..m|onaco...|
|000002d0| 00 55 00 07 6d 6f 6e 61 | 63 6f 00 00 09 00 55 00 |.U..mona|co....U.|
|000002e0| 07 6d 6f 6e 61 63 6f 00 | 00 09 00 55 00 08 63 6f |.monaco.|...U..co|
|000002f0| 75 72 69 65 72 00 00 09 | 00 55 00 0c 63 6f 75 72 |urier...|.U..cour|
|00000300| 69 65 72 20 6e 65 77 00 | 00 0a 00 57 00 07 47 65 |ier new.|...W..Ge|
|00000310| 6e 65 76 61 00 00 09 00 | 57 00 07 6d 6f 6e 61 63 |neva....|W..monac|
|00000320| 6f 00 00 05 00 55 00 07 | 6d 6f 6e 61 63 6f 00 00 |o....U..|monaco..|
|00000330| 11 00 55 00 07 6d 6f 6e | 61 63 6f 00 00 09 01 55 |..U..mon|aco....U|
|00000340| 00 07 6d 6f 6e 61 63 6f | 00 00 09 00 55 00 06 41 |..monaco|....U..A|
|00000350| 72 69 61 6c 00 00 0c 00 | 57 00 0c 43 6f 75 72 69 |rial....|W..Couri|
|00000360| 65 72 20 4e 65 77 00 00 | 0c 10 55 00 0c 43 6f 75 |er New..|..U..Cou|
|00000370| 72 69 65 72 20 4e 65 77 | 00 00 0c 01 57 00 0c 43 |rier New|....W..C|
|00000380| 6f 75 72 69 65 72 20 4e | 65 77 00 00 0c 11 57 00 |ourier N|ew....W.|
|00000390| 0c 43 6f 75 72 69 65 72 | 20 4e 65 77 00 00 0c 11 |.Courier| New....|
|000003a0| 55 00 0c 43 6f 75 72 69 | 65 72 20 4e 65 77 00 00 |U..Couri|er New..|
|000003b0| 0a 01 57 00 07 47 65 6e | 65 76 61 00 00 0a 11 57 |..W..Gen|eva....W|
|000003c0| 00 07 47 65 6e 65 76 61 | 00 00 0a 11 55 00 07 47 |..Geneva|....U..G|
|000003d0| 65 6e 65 76 61 00 00 0c | 01 55 00 0c 43 6f 75 72 |eneva...|.U..Cour|
|000003e0| 69 65 72 20 4e 65 77 00 | 00 0a 01 55 00 07 47 65 |ier New.|...U..Ge|
|000003f0| 6e 65 76 61 00 00 0a 10 | 55 00 07 47 65 6e 65 76 |neva....|U..Genev|
|00000400| 61 00 00 0c 00 55 00 07 | 47 65 6e 65 76 61 00 00 |a....U..|Geneva..|
|00000410| 0a 00 55 00 0e 4d 53 20 | 53 61 6e 73 20 53 65 72 |..U..MS |Sans Ser|
|00000420| 69 66 00 00 0a 01 55 00 | 0e 4d 53 20 53 61 6e 73 |if....U.|.MS Sans|
|00000430| 20 53 65 72 69 66 00 00 | 0a 01 55 00 0a 48 65 6c | Serif..|..U..Hel|
|00000440| 76 65 74 69 63 61 00 00 | 0a 10 55 00 0e 4d 53 20 |vetica..|..U..MS |
|00000450| 53 61 6e 73 20 53 65 72 | 69 66 00 18 00 0c 63 52 |Sans Ser|if....cR|
|00000460| 45 56 47 65 6e 65 72 61 | 6c 00 00 00 00 07 0f 73 |EVGenera|l......s|
|00000470| 63 72 69 70 74 43 68 65 | 63 6b 73 75 6d 00 00 10 |criptChe|cksum...|
|00000480| 68 b3 29 da 98 93 e3 40 | 99 c7 d8 ad 5c b9 c9 40 |h.)....@|....\..@|
|00000490| 0a 62 6f 6f 6b 6d 61 72 | 6b 73 00 00 00 0c 68 61 |.bookmar|ks....ha|
|000004a0| 6e 64 6c 65 72 4c 69 73 | 74 00 00 00 10 73 63 72 |ndlerLis|t....scr|
|000004b0| 69 70 74 53 65 6c 65 63 | 74 69 6f 6e 00 00 0b 63 |iptSelec|tion...c|
|000004c0| 68 61 72 20 31 20 74 6f | 20 30 0c 70 72 65 76 48 |har 1 to| 0.prevH|
|000004d0| 61 6e 64 6c 65 72 00 00 | 0c 70 72 65 4f 70 65 6e |andler..|.preOpen|
|000004e0| 53 74 61 63 6b 0b 74 65 | 6d 70 53 63 72 69 70 74 |Stack.te|mpScript|
|000004f0| 00 00 00 07 73 63 72 69 | 70 74 00 00 00 04 00 00 |....scri|pt......|
|00000500| 03 ea 00 0a 72 65 76 73 | 63 72 69 70 74 00 00 00 |....revs|cript...|
|00000510| 09 78 00 27 00 00 b5 bd | 6c 6f 63 61 6c 20 6c 52 |.x.'....|local lR|
|00000520| 65 73 74 6f 72 65 2c 20 | 6c 43 6c 6f 73 69 6e 67 |estore, |lClosing|
|00000530| 53 74 61 63 6b 0a 0a 6f | 6e 20 73 75 73 70 65 6e |Stack..o|n suspen|
|00000540| 64 53 74 61 63 6b 0a 20 | 20 69 66 20 74 68 65 20 |dStack. | if the |
|00000550| 70 6c 61 74 66 6f 72 6d | 20 69 73 20 22 4d 61 63 |platform| is "Mac|
|00000560| 4f 53 22 20 74 68 65 6e | 0a 20 20 20 20 73 65 74 |OS" then|. set|
|00000570| 20 74 68 65 20 64 65 66 | 61 75 6c 74 4d 65 6e 75 | the def|aultMenu|
|00000580| 42 61 72 20 74 6f 20 22 | 72 65 76 4d 65 6e 75 42 |Bar to "|revMenuB|
|00000590| 61 72 22 0a 20 20 20 20 | 69 66 20 77 6f 72 64 20 |ar". |if word |
|000005a0| 31 20 74 6f 20 32 20 6f | 66 20 74 68 65 20 64 65 |1 to 2 o|f the de|
|000005b0| 66 61 75 6c 74 4d 65 6e | 75 62 61 72 20 69 73 20 |faultMen|ubar is |
|000005c0| 22 67 72 6f 75 70 22 20 | 26 26 20 71 75 6f 74 65 |"group" |&& quote|
|000005d0| 20 26 20 22 72 65 76 4d | 65 6e 75 42 61 72 22 20 | & "revM|enuBar" |
|000005e0| 26 20 71 75 6f 74 65 20 | 74 68 65 6e 0a 20 20 20 |& quote |then. |
|000005f0| 20 20 20 73 65 6e 64 20 | 22 6d 6f 75 73 65 44 6f | send |"mouseDo|
|00000600| 77 6e 22 20 74 6f 20 67 | 72 6f 75 70 20 22 72 65 |wn" to g|roup "re|
|00000610| 76 4d 65 6e 75 42 61 72 | 22 20 6f 66 20 73 74 61 |vMenuBar|" of sta|
|00000620| 63 6b 20 22 72 65 76 4d | 65 6e 75 42 61 72 22 0a |ck "revM|enuBar".|
|00000630| 20 20 20 20 65 6e 64 20 | 69 66 0a 20 20 65 6e 64 | end |if. end|
|00000640| 20 69 66 0a 65 6e 64 20 | 73 75 73 70 65 6e 64 53 | if.end |suspendS|
|00000650| 74 61 63 6b 0a 0a 6f 6e | 20 72 65 73 75 6d 65 53 |tack..on| resumeS|
|00000660| 74 61 63 6b 0a 20 20 67 | 6c 6f 62 61 6c 20 67 52 |tack. g|lobal gR|
|00000670| 45 56 54 6f 70 45 64 69 | 74 6f 72 0a 20 20 69 66 |EVTopEdi|tor. if|
|00000680| 20 74 68 65 20 70 6c 61 | 74 66 6f 72 6d 20 69 73 | the pla|tform is|
|00000690| 20 22 4d 61 63 4f 53 22 | 20 74 68 65 6e 0a 20 20 | "MacOS"| then. |
|000006a0| 20 20 70 75 74 20 74 68 | 65 20 64 65 66 61 75 6c | put th|e defaul|
|000006b0| 74 53 74 61 63 6b 20 69 | 6e 74 6f 20 74 52 65 74 |tStack i|nto tRet|
|000006c0| 75 72 6e 0a 20 20 20 20 | 73 65 74 20 74 68 65 20 |urn. |set the |
|000006d0| 64 65 66 61 75 6c 74 53 | 74 61 63 6b 20 74 6f 20 |defaultS|tack to |
|000006e0| 22 72 65 76 53 63 72 69 | 70 74 4d 65 6e 75 73 22 |"revScri|ptMenus"|
|000006f0| 0a 20 20 20 20 73 65 74 | 20 74 68 65 20 64 65 66 |. set| the def|
|00000700| 61 75 6c 74 4d 65 6e 75 | 42 61 72 20 74 6f 20 22 |aultMenu|Bar to "|
|00000710| 72 65 76 53 63 72 69 70 | 74 4d 65 6e 75 73 22 0a |revScrip|tMenus".|
|00000720| 20 20 20 20 73 65 74 20 | 74 68 65 20 64 65 66 61 | set |the defa|
|00000730| 75 6c 74 53 74 61 63 6b | 20 74 6f 20 74 52 65 74 |ultStack| to tRet|
|00000740| 75 72 6e 0a 20 20 20 20 | 70 75 74 20 74 52 65 74 |urn. |put tRet|
|00000750| 75 72 6e 20 69 6e 74 6f | 20 67 52 45 56 54 6f 70 |urn into| gREVTop|
|00000760| 45 64 69 74 6f 72 0a 20 | 20 65 6e 64 20 69 66 0a |Editor. | end if.|
|00000770| 65 6e 64 20 72 65 73 75 | 6d 65 53 74 61 63 6b 0a |end resu|meStack.|
|00000780| 0a 6f 6e 20 72 65 73 69 | 7a 65 53 74 61 63 6b 0a |.on resi|zeStack.|
|00000790| 20 20 70 75 74 20 74 68 | 65 20 73 63 72 6f 6c 6c | put th|e scroll|
|000007a0| 20 6f 66 20 66 6c 64 20 | 22 73 63 72 69 70 74 22 | of fld |"script"|
|000007b0| 20 69 6e 74 6f 20 74 52 | 65 73 74 6f 72 65 0a 20 | into tR|estore. |
|000007c0| 20 73 65 74 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 | set the| scroll |
|000007d0| 6f 66 20 66 6c 64 20 22 | 73 63 72 69 70 74 22 20 |of fld "|script" |
|000007e0| 74 6f 20 74 52 65 73 74 | 6f 72 65 0a 20 20 69 66 |to tRest|ore. if|
|000007f0| 20 74 68 65 20 77 69 64 | 74 68 20 6f 66 20 74 68 | the wid|th of th|
|00000800| 69 73 20 73 74 61 63 6b | 20 3e 20 36 30 30 20 74 |is stack| > 600 t|
|00000810| 68 65 6e 0a 20 20 20 20 | 73 65 74 20 74 68 65 20 |hen. |set the |
|00000820| 63 52 45 56 4d 61 78 69 | 6d 69 7a 65 64 20 6f 66 |cREVMaxi|mized of|
|00000830| 20 74 68 69 73 20 63 64 | 20 74 6f 20 74 72 75 65 | this cd| to true|
|00000840| 0a 20 20 20 20 73 65 74 | 20 74 68 65 20 69 63 6f |. set| the ico|
|00000850| 6e 20 6f 66 20 62 74 6e | 20 22 74 6f 67 67 6c 65 |n of btn| "toggle|
|00000860| 20 73 69 7a 65 22 20 74 | 6f 20 32 30 31 34 35 35 | size" t|o 201455|
|00000870| 0a 20 20 20 20 73 65 74 | 20 74 68 65 20 68 69 6c |. set| the hil|
|00000880| 69 74 65 49 63 6f 6e 20 | 6f 66 20 62 74 6e 20 22 |iteIcon |of btn "|
|00000890| 74 6f 67 67 6c 65 20 73 | 69 7a 65 22 20 74 6f 20 |toggle s|ize" to |
|000008a0| 32 30 31 34 35 36 0a 20 | 20 65 6c 73 65 0a 20 20 |201456. | else. |
|000008b0| 20 20 73 65 74 20 74 68 | 65 20 63 52 45 56 4d 61 | set th|e cREVMa|
|000008c0| 78 69 6d 69 7a 65 64 20 | 6f 66 20 74 68 69 73 20 |ximized |of this |
|000008d0| 63 64 20 74 6f 20 66 61 | 6c 73 65 0a 20 20 20 20 |cd to fa|lse. |
|000008e0| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|000008f0| 62 74 6e 20 22 74 6f 67 | 67 6c 65 20 73 69 7a 65 |btn "tog|gle size|
|00000900| 22 20 74 6f 20 32 30 31 | 34 35 32 0a 20 20 20 20 |" to 201|452. |
|00000910| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 49 63 |set the |hiliteIc|
|00000920| 6f 6e 20 6f 66 20 62 74 | 6e 20 22 74 6f 67 67 6c |on of bt|n "toggl|
|00000930| 65 20 73 69 7a 65 22 20 | 74 6f 20 32 30 31 34 35 |e size" |to 20145|
|00000940| 33 0a 20 20 65 6e 64 20 | 69 66 0a 0a 20 20 70 75 |3. end |if.. pu|
|00000950| 74 20 74 68 65 20 77 69 | 64 74 68 20 6f 66 20 74 |t the wi|dth of t|
|00000960| 68 69 73 20 73 74 61 63 | 6b 20 69 6e 74 6f 20 74 |his stac|k into t|
|00000970| 53 74 61 63 6b 57 69 64 | 74 68 0a 20 20 73 65 74 |StackWid|th. set|
|00000980| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 62 74 6e | the rec|t of btn|
|00000990| 20 22 53 65 6c 65 63 74 | 69 6f 6e 20 44 65 73 63 | "Select|ion Desc|
|000009a0| 72 69 70 74 69 6f 6e 22 | 20 6f 66 20 62 67 20 22 |ription"| of bg "|
|000009b0| 72 65 76 42 61 63 6b 64 | 72 6f 70 22 20 74 6f 20 |revBackd|rop" to |
|000009c0| 69 74 65 6d 20 31 20 74 | 6f 20 32 20 6f 66 20 74 |item 1 t|o 2 of t|
|000009d0| 68 65 20 72 65 63 74 20 | 6f 66 20 62 74 6e 20 22 |he rect |of btn "|
|000009e0| 53 65 6c 65 63 74 69 6f | 6e 20 44 65 73 63 72 69 |Selectio|n Descri|
|000009f0| 70 74 69 6f 6e 22 20 6f | 66 20 62 67 20 22 72 65 |ption" o|f bg "re|
|00000a00| 76 42 61 63 6b 64 72 6f | 70 22 2c 20 74 53 74 61 |vBackdro|p", tSta|
|00000a10| 63 6b 57 69 64 74 68 20 | 2d 20 31 30 33 2c 20 74 |ckWidth |- 103, t|
|00000a20| 68 65 20 62 6f 74 74 6f | 6d 20 6f 66 20 62 74 6e |he botto|m of btn|
|00000a30| 20 22 53 65 6c 65 63 74 | 69 6f 6e 20 44 65 73 63 | "Select|ion Desc|
|00000a40| 72 69 70 74 69 6f 6e 22 | 0a 20 20 73 65 74 20 74 |ription"|. set t|
|00000a50| 68 65 20 72 69 67 68 74 | 20 6f 66 20 66 6c 64 20 |he right| of fld |
|00000a60| 22 50 72 6f 66 69 6c 65 | 22 20 6f 66 20 62 67 20 |"Profile|" of bg |
|00000a70| 22 72 65 76 42 61 63 6b | 64 72 6f 70 22 20 74 6f |"revBack|drop" to|
|00000a80| 20 74 53 74 61 63 6b 57 | 69 64 74 68 20 2d 20 32 | tStackW|idth - 2|
|00000a90| 35 0a 20 20 73 65 74 20 | 74 68 65 20 72 69 67 68 |5. set |the righ|
|00000aa0| 74 20 6f 66 20 62 74 6e | 20 22 52 45 56 4c 6f 63 |t of btn| "REVLoc|
|00000ab0| 6b 22 20 74 6f 20 74 53 | 74 61 63 6b 57 69 64 74 |k" to tS|tackWidt|
|00000ac0| 68 20 2d 20 37 0a 0a 20 | 20 70 75 74 20 74 68 65 |h - 7.. | put the|
|00000ad0| 20 63 52 45 56 43 75 72 | 72 65 6e 74 54 61 62 73 | cREVCur|rentTabs|
|00000ae0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00000af0| 6e 74 6f 20 74 43 75 72 | 72 65 6e 74 54 61 62 73 |nto tCur|rentTabs|
|00000b00| 0a 20 20 70 75 74 20 74 | 68 65 20 77 69 64 74 68 |. put t|he width|
|00000b10| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 2d | of this| stack -|
|00000b20| 20 32 20 69 6e 74 6f 20 | 74 54 61 62 73 52 69 67 | 2 into |tTabsRig|
|00000b30| 68 74 0a 20 20 2d 2d 69 | 66 20 70 61 6c 65 74 74 |ht. --i|f palett|
|00000b40| 65 20 69 73 20 65 78 74 | 65 6e 64 65 64 20 6c 65 |e is ext|ended le|
|00000b50| 66 74 2c 20 6d 6f 76 65 | 20 74 68 65 20 74 61 62 |ft, move| the tab|
|00000b60| 73 20 74 6f 20 73 74 61 | 79 20 69 6e 20 74 68 65 |s to sta|y in the|
|00000b70| 20 70 61 6c 65 74 74 65 | 20 69 66 20 6e 65 63 65 | palette| if nece|
|00000b80| 73 73 61 72 72 79 0a 20 | 20 69 66 20 74 68 65 20 |ssarry. | if the |
|00000b90| 63 52 45 56 53 74 61 63 | 6b 4f 66 66 73 65 74 20 |cREVStac|kOffset |
|00000ba0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 69 73 |of this |stack is|
|00000bb0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 61 6e 64 20 74 | not emp|ty and t|
|00000bc0| 68 65 20 72 69 67 68 74 | 20 6f 66 20 67 72 70 20 |he right| of grp |
|00000bd0| 28 74 68 65 20 6c 61 73 | 74 20 69 74 65 6d 20 6f |(the las|t item o|
|00000be0| 66 20 74 43 75 72 72 65 | 6e 74 54 61 62 73 29 20 |f tCurre|ntTabs) |
|00000bf0| 3e 3d 20 74 54 61 62 73 | 52 69 67 68 74 20 61 6e |>= tTabs|Right an|
|00000c00| 64 20 74 68 65 20 6c 65 | 66 74 20 6f 66 20 67 72 |d the le|ft of gr|
|00000c10| 70 20 28 69 74 65 6d 20 | 31 20 6f 66 20 74 43 75 |p (item |1 of tCu|
|00000c20| 72 72 65 6e 74 54 61 62 | 73 29 20 3e 20 2d 34 20 |rrentTab|s) > -4 |
|00000c30| 74 68 65 6e 0a 20 20 20 | 20 70 75 74 20 74 68 65 |then. | put the|
|00000c40| 20 6e 75 6d 20 6f 66 20 | 69 74 65 6d 73 20 69 6e | num of |items in|
|00000c50| 20 74 43 75 72 72 65 6e | 74 54 61 62 73 20 69 6e | tCurren|tTabs in|
|00000c60| 74 6f 20 74 4e 75 6d 54 | 61 62 73 0a 20 20 20 20 |to tNumT|abs. |
|00000c70| 70 75 74 20 74 54 61 62 | 73 52 69 67 68 74 20 2d |put tTab|sRight -|
|00000c80| 20 28 74 4e 75 6d 54 61 | 62 73 20 2d 20 31 29 20 | (tNumTa|bs - 1) |
|00000c90| 2a 20 36 39 20 69 6e 74 | 6f 20 74 54 61 62 73 52 |* 69 int|o tTabsR|
|00000ca0| 69 67 68 74 0a 20 20 20 | 20 72 65 70 65 61 74 20 |ight. | repeat |
|00000cb0| 66 6f 72 20 65 61 63 68 | 20 69 74 65 6d 20 69 20 |for each| item i |
|00000cc0| 69 6e 20 74 43 75 72 72 | 65 6e 74 54 61 62 73 0a |in tCurr|entTabs.|
|00000cd0| 20 20 20 20 20 20 73 65 | 74 20 74 68 65 20 72 69 | se|t the ri|
|00000ce0| 67 68 74 20 6f 66 20 67 | 72 70 20 69 20 74 6f 20 |ght of g|rp i to |
|00000cf0| 74 54 61 62 73 52 69 67 | 68 74 0a 20 20 20 20 20 |tTabsRig|ht. |
|00000d00| 20 61 64 64 20 36 39 20 | 74 6f 20 74 54 61 62 73 | add 69 |to tTabs|
|00000d10| 52 69 67 68 74 0a 20 20 | 20 20 65 6e 64 20 72 65 |Right. | end re|
|00000d20| 70 65 61 74 0a 20 20 20 | 20 73 65 74 20 74 68 65 |peat. | set the|
|00000d30| 20 63 52 45 56 53 74 61 | 63 6b 4f 66 66 73 65 74 | cREVSta|ckOffset|
|00000d40| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 74 | of this| stack t|
|00000d50| 6f 20 74 68 65 20 6c 65 | 66 74 20 6f 66 20 67 72 |o the le|ft of gr|
|00000d60| 70 20 28 69 74 65 6d 20 | 31 20 6f 66 20 74 43 75 |p (item |1 of tCu|
|00000d70| 72 72 65 6e 74 54 61 62 | 73 29 20 2b 20 34 0a 20 |rrentTab|s) + 4. |
|00000d80| 20 65 6e 64 20 69 66 0a | 20 20 2d 2d 6e 65 77 20 | end if.| --new |
|00000d90| 68 61 72 64 77 69 72 65 | 64 20 67 65 6f 6d 65 74 |hardwire|d geomet|
|00000da0| 72 79 0a 20 20 2d 2d 6d | 65 6e 75 62 61 72 0a 20 |ry. --m|enubar. |
|00000db0| 20 70 75 74 20 74 68 65 | 20 77 69 64 74 68 20 6f | put the| width o|
|00000dc0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |f this s|tack int|
|00000dd0| 6f 20 74 43 61 72 64 52 | 69 67 68 74 0a 20 20 73 |o tCardR|ight. s|
|00000de0| 65 74 20 74 68 65 20 72 | 69 67 68 74 20 6f 66 20 |et the r|ight of |
|00000df0| 62 74 6e 20 22 74 6f 67 | 67 6c 65 20 73 69 7a 65 |btn "tog|gle size|
|00000e00| 22 20 74 6f 20 74 43 61 | 72 64 52 69 67 68 74 20 |" to tCa|rdRight |
|00000e10| 2d 20 34 0a 20 20 73 65 | 74 20 74 68 65 20 72 69 |- 4. se|t the ri|
|00000e20| 67 68 74 20 6f 66 20 62 | 74 6e 20 22 77 72 61 70 |ght of b|tn "wrap|
|00000e30| 74 65 78 74 22 20 74 6f | 20 74 43 61 72 64 52 69 |text" to| tCardRi|
|00000e40| 67 68 74 20 2d 32 35 0a | 20 20 73 65 74 20 74 68 |ght -25.| set th|
|00000e50| 65 20 72 69 67 68 74 20 | 6f 66 20 62 74 6e 20 22 |e right |of btn "|
|00000e60| 64 69 76 69 64 65 72 22 | 20 74 6f 20 74 43 61 72 |divider"| to tCar|
|00000e70| 64 52 69 67 68 74 20 2d | 20 34 36 0a 20 20 73 65 |dRight -| 46. se|
|00000e80| 74 20 74 68 65 20 72 69 | 67 68 74 20 6f 66 20 62 |t the ri|ght of b|
|00000e90| 74 6e 20 22 75 6e 64 65 | 72 6c 69 6e 65 22 20 74 |tn "unde|rline" t|
|00000ea0| 6f 20 74 43 61 72 64 52 | 69 67 68 74 20 2d 20 35 |o tCardR|ight - 5|
|00000eb0| 31 0a 20 20 73 65 74 20 | 74 68 65 20 72 69 67 68 |1. set |the righ|
|00000ec0| 74 20 6f 66 20 62 74 6e | 20 22 69 74 61 6c 69 63 |t of btn| "italic|
|00000ed0| 22 20 74 6f 20 74 43 61 | 72 64 52 69 67 68 74 20 |" to tCa|rdRight |
|00000ee0| 2d 20 36 39 0a 20 20 73 | 65 74 20 74 68 65 20 72 |- 69. s|et the r|
|00000ef0| 69 67 68 74 20 6f 66 20 | 62 74 6e 20 22 62 6f 6c |ight of |btn "bol|
|00000f00| 64 22 20 74 6f 20 74 43 | 61 72 64 52 69 67 68 74 |d" to tC|ardRight|
|00000f10| 20 2d 20 38 37 0a 20 20 | 73 65 74 20 74 68 65 20 | - 87. |set the |
|00000f20| 72 69 67 68 74 20 6f 66 | 20 62 74 6e 20 22 70 6c |right of| btn "pl|
|00000f30| 61 69 6e 22 20 74 6f 20 | 74 43 61 72 64 52 69 67 |ain" to |tCardRig|
|00000f40| 68 74 20 2d 20 31 30 35 | 0a 0a 20 20 73 65 74 20 |ht - 105|.. set |
|00000f50| 74 68 65 20 72 69 67 68 | 74 20 6f 66 20 62 74 6e |the righ|t of btn|
|00000f60| 20 22 42 6f 6f 6b 6d 61 | 72 6b 73 22 20 74 6f 20 | "Bookma|rks" to |
|00000f70| 74 43 61 72 64 52 69 67 | 68 74 20 2d 20 31 33 31 |tCardRig|ht - 131|
|00000f80| 0a 20 20 73 65 74 20 74 | 68 65 20 72 69 67 68 74 |. set t|he right|
|00000f90| 20 6f 66 20 62 74 6e 20 | 22 56 69 65 77 22 20 74 | of btn |"View" t|
|00000fa0| 6f 20 74 43 61 72 64 52 | 69 67 68 74 20 2d 20 32 |o tCardR|ight - 2|
|00000fb0| 31 35 0a 20 20 73 65 74 | 20 74 68 65 20 72 69 67 |15. set| the rig|
|00000fc0| 68 74 20 6f 66 20 62 74 | 6e 20 22 53 63 72 69 70 |ht of bt|n "Scrip|
|00000fd0| 74 22 20 74 6f 20 74 43 | 61 72 64 52 69 67 68 74 |t" to tC|ardRight|
|00000fe0| 20 2d 20 32 35 33 0a 0a | 20 20 73 65 74 20 74 68 | - 253..| set th|
|00000ff0| 65 20 72 65 63 74 20 6f | 66 20 62 74 6e 20 22 74 |e rect o|f btn "t|
|00001000| 6f 70 20 6d 65 6e 75 20 | 62 61 72 22 20 74 6f 20 |op menu |bar" to |
|00001010| 69 74 65 6d 20 31 20 74 | 6f 20 32 20 6f 66 20 74 |item 1 t|o 2 of t|
|00001020| 68 65 20 72 65 63 74 20 | 6f 66 20 62 74 6e 20 22 |he rect |of btn "|
|00001030| 74 6f 70 20 6d 65 6e 75 | 20 62 61 72 22 2c 20 74 |top menu| bar", t|
|00001040| 43 61 72 64 52 69 67 68 | 74 20 2b 20 32 2c 20 69 |CardRigh|t + 2, i|
|00001050| 74 65 6d 20 34 20 6f 66 | 20 74 68 65 20 72 65 63 |tem 4 of| the rec|
|00001060| 74 20 6f 66 20 62 74 6e | 20 22 74 6f 70 20 6d 65 |t of btn| "top me|
|00001070| 6e 75 20 62 61 72 22 0a | 20 20 2d 2d 62 6f 74 74 |nu bar".| --bott|
|00001080| 6f 6d 20 67 72 65 79 20 | 62 61 72 0a 20 20 70 75 |om grey |bar. pu|
|00001090| 74 20 74 68 65 20 68 65 | 69 67 68 74 20 6f 66 20 |t the he|ight of |
|000010a0| 74 68 69 73 20 73 74 61 | 63 6b 20 69 6e 74 6f 20 |this sta|ck into |
|000010b0| 74 43 61 72 64 42 6f 74 | 74 6f 6d 0a 20 20 73 65 |tCardBot|tom. se|
|000010c0| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 67 72 |t the re|ct of gr|
|000010d0| 63 20 22 62 6f 74 74 6f | 6d 20 62 6f 72 64 65 72 |c "botto|m border|
|000010e0| 20 63 6f 76 65 72 22 20 | 74 6f 20 74 68 65 20 6c | cover" |to the l|
|000010f0| 65 66 74 20 6f 66 20 67 | 72 63 20 22 62 6f 74 74 |eft of g|rc "bott|
|00001100| 6f 6d 20 62 6f 72 64 65 | 72 20 63 6f 76 65 72 22 |om borde|r cover"|
|00001110| 2c 20 74 43 61 72 64 42 | 6f 74 74 6f 6d 20 2d 20 |, tCardB|ottom - |
|00001120| 33 34 2c 20 74 68 65 20 | 77 69 64 74 68 20 6f 66 |34, the |width of|
|00001130| 20 74 68 69 73 20 73 74 | 61 63 6b 20 2b 20 32 2c | this st|ack + 2,|
|00001140| 20 74 43 61 72 64 42 6f | 74 74 6f 6d 20 2d 20 33 | tCardBo|ttom - 3|
|00001150| 34 20 2b 20 74 68 65 20 | 68 65 69 67 68 74 20 6f |4 + the |height o|
|00001160| 66 20 67 72 63 20 22 62 | 6f 74 74 6f 6d 20 62 6f |f grc "b|ottom bo|
|00001170| 72 64 65 72 20 63 6f 76 | 65 72 22 0a 20 20 73 65 |rder cov|er". se|
|00001180| 74 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |t the bo|ttom of |
|00001190| 66 6c 64 20 22 6f 62 6a | 65 63 74 20 6c 61 62 65 |fld "obj|ect labe|
|000011a0| 6c 20 66 69 65 6c 64 22 | 20 74 6f 20 74 43 61 72 |l field"| to tCar|
|000011b0| 64 42 6f 74 74 6f 6d 20 | 2d 38 0a 20 20 73 65 74 |dBottom |-8. set|
|000011c0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 62 74 6e | the rec|t of btn|
|000011d0| 20 22 6f 62 6a 65 63 74 | 73 20 6c 69 73 74 22 20 | "object|s list" |
|000011e0| 74 6f 20 74 68 65 20 6c | 65 66 74 20 6f 66 20 62 |to the l|eft of b|
|000011f0| 74 6e 20 22 6f 62 6a 65 | 63 74 73 20 6c 69 73 74 |tn "obje|cts list|
|00001200| 22 2c 20 74 43 61 72 64 | 42 6f 74 74 6f 6d 20 2d |", tCard|Bottom -|
|00001210| 20 32 37 2c 20 74 43 61 | 72 64 52 69 67 68 74 20 | 27, tCa|rdRight |
|00001220| 2d 20 31 34 37 2c 20 74 | 43 61 72 64 42 6f 74 74 |- 147, t|CardBott|
|00001230| 6f 6d 20 2d 20 38 0a 0a | 20 20 73 65 74 20 74 68 |om - 8..| set th|
|00001240| 65 20 62 6f 74 74 6f 6d | 52 69 67 68 74 20 6f 66 |e bottom|Right of|
|00001250| 20 62 74 6e 20 22 41 70 | 70 6c 79 22 20 74 6f 20 | btn "Ap|ply" to |
|00001260| 74 43 61 72 64 52 69 67 | 68 74 20 2d 20 35 2c 20 |tCardRig|ht - 5, |
|00001270| 74 43 61 72 64 42 6f 74 | 74 6f 6d 20 2d 20 37 0a |tCardBot|tom - 7.|
|00001280| 20 20 73 65 74 20 74 68 | 65 20 62 6f 74 74 6f 6d | set th|e bottom|
|00001290| 52 69 67 68 74 20 6f 66 | 20 62 74 6e 20 22 52 65 |Right of| btn "Re|
|000012a0| 76 65 72 74 22 20 74 6f | 20 74 43 61 72 64 52 69 |vert" to| tCardRi|
|000012b0| 67 68 74 20 2d 20 37 35 | 2c 20 74 43 61 72 64 42 |ght - 75|, tCardB|
|000012c0| 6f 74 74 6f 6d 20 2d 37 | 0a 20 20 73 65 74 20 74 |ottom -7|. set t|
|000012d0| 68 65 20 74 6f 70 4c 65 | 66 74 20 6f 66 20 62 74 |he topLe|ft of bt|
|000012e0| 6e 20 22 52 65 73 69 7a | 65 22 20 74 6f 20 74 43 |n "Resiz|e" to tC|
|000012f0| 61 72 64 52 69 67 68 74 | 20 2d 20 31 35 2c 20 74 |ardRight| - 15, t|
|00001300| 43 61 72 64 42 6f 74 74 | 6f 6d 20 2d 20 31 32 0a |CardBott|om - 12.|
|00001310| 0a 20 20 2d 2d 67 65 6f | 6d 65 74 72 79 20 66 6f |. --geo|metry fo|
|00001320| 72 20 63 68 61 6e 67 61 | 62 6c 65 20 62 6f 74 74 |r changa|ble bott|
|00001330| 6f 6d 20 70 61 6e 65 6c | 0a 20 20 73 65 74 20 74 |om panel|. set t|
|00001340| 68 65 20 62 6f 74 74 6f | 6d 52 69 67 68 74 20 6f |he botto|mRight o|
|00001350| 66 20 62 74 6e 20 22 6d | 6f 64 65 20 74 6f 67 67 |f btn "m|ode togg|
|00001360| 6c 65 22 20 74 6f 20 74 | 43 61 72 64 52 69 67 68 |le" to t|CardRigh|
|00001370| 74 20 2d 20 32 2c 20 74 | 43 61 72 64 42 6f 74 74 |t - 2, t|CardBott|
|00001380| 6f 6d 20 2d 20 33 35 0a | 20 20 70 75 74 20 74 68 |om - 35.| put th|
|00001390| 65 20 63 43 75 72 72 65 | 6e 74 53 65 61 72 63 68 |e cCurre|ntSearch|
|000013a0| 20 6f 66 20 74 68 69 73 | 20 63 64 20 69 6e 74 6f | of this| cd into|
|000013b0| 20 74 43 75 72 72 65 6e | 74 53 65 61 72 63 68 0a | tCurren|tSearch.|
|000013c0| 20 20 73 77 69 74 63 68 | 20 74 43 75 72 72 65 6e | switch| tCurren|
|000013d0| 74 53 65 61 72 63 68 0a | 20 20 63 61 73 65 20 22 |tSearch.| case "|
|000013e0| 73 70 65 6c 6c 69 6e 67 | 22 0a 20 20 63 61 73 65 |spelling|". case|
|000013f0| 20 22 61 75 74 6f 63 6f | 6d 70 6c 65 74 65 22 0a | "autoco|mplete".|
|00001400| 20 20 20 20 73 65 74 20 | 74 68 65 20 72 65 63 74 | set |the rect|
|00001410| 20 6f 66 20 66 6c 64 20 | 22 73 70 65 6c 6c 69 6e | of fld |"spellin|
|00001420| 67 22 20 74 6f 20 74 68 | 65 20 6c 65 66 74 20 6f |g" to th|e left o|
|00001430| 66 20 66 6c 64 20 22 73 | 70 65 6c 6c 69 6e 67 22 |f fld "s|pelling"|
|00001440| 2c 20 74 43 61 72 64 42 | 6f 74 74 6f 6d 20 2d 20 |, tCardB|ottom - |
|00001450| 35 37 2c 20 74 43 61 72 | 64 52 69 67 68 74 20 2d |57, tCar|dRight -|
|00001460| 20 33 30 2c 20 74 43 61 | 72 64 42 6f 74 74 6f 6d | 30, tCa|rdBottom|
|00001470| 20 2d 20 33 36 0a 20 20 | 20 20 62 72 65 61 6b 0a | - 36. | break.|
|00001480| 20 20 63 61 73 65 20 22 | 66 69 6e 64 22 0a 20 20 | case "|find". |
|00001490| 20 20 70 75 74 20 74 43 | 61 72 64 42 6f 74 74 6f | put tC|ardBotto|
|000014a0| 6d 20 2d 20 33 39 20 69 | 6e 74 6f 20 74 46 69 6e |m - 39 i|nto tFin|
|000014b0| 64 41 6e 64 52 65 70 6c | 61 63 65 42 6f 74 74 6f |dAndRepl|aceBotto|
|000014c0| 6d 0a 20 20 20 20 73 65 | 74 20 74 68 65 20 62 6f |m. se|t the bo|
|000014d0| 74 74 6f 6d 20 6f 66 20 | 66 6c 64 20 22 66 69 6e |ttom of |fld "fin|
|000014e0| 64 22 20 74 6f 20 74 46 | 69 6e 64 41 6e 64 52 65 |d" to tF|indAndRe|
|000014f0| 70 6c 61 63 65 42 6f 74 | 74 6f 6d 0a 20 20 20 20 |placeBot|tom. |
|00001500| 73 65 74 20 74 68 65 20 | 62 6f 74 74 6f 6d 20 6f |set the |bottom o|
|00001510| 66 20 66 6c 64 20 22 72 | 65 70 6c 61 63 65 22 20 |f fld "r|eplace" |
|00001520| 74 6f 20 74 46 69 6e 64 | 41 6e 64 52 65 70 6c 61 |to tFind|AndRepla|
|00001530| 63 65 42 6f 74 74 6f 6d | 0a 0a 20 20 20 20 73 65 |ceBottom|.. se|
|00001540| 74 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |t the bo|ttom of |
|00001550| 62 74 6e 20 22 66 69 6e | 64 22 20 74 6f 20 74 46 |btn "fin|d" to tF|
|00001560| 69 6e 64 41 6e 64 52 65 | 70 6c 61 63 65 42 6f 74 |indAndRe|placeBot|
|00001570| 74 6f 6d 0a 20 20 20 20 | 73 65 74 20 74 68 65 20 |tom. |set the |
|00001580| 62 6f 74 74 6f 6d 20 6f | 66 20 62 74 6e 20 22 72 |bottom o|f btn "r|
|00001590| 65 70 6c 61 63 65 22 20 | 74 6f 20 74 46 69 6e 64 |eplace" |to tFind|
|000015a0| 41 6e 64 52 65 70 6c 61 | 63 65 42 6f 74 74 6f 6d |AndRepla|ceBottom|
|000015b0| 0a 20 20 20 20 73 65 74 | 20 74 68 65 20 62 6f 74 |. set| the bot|
|000015c0| 74 6f 6d 20 6f 66 20 62 | 74 6e 20 22 72 65 70 6c |tom of b|tn "repl|
|000015d0| 61 63 65 20 61 6c 6c 22 | 20 74 6f 20 74 46 69 6e |ace all"| to tFin|
|000015e0| 64 41 6e 64 52 65 70 6c | 61 63 65 42 6f 74 74 6f |dAndRepl|aceBotto|
|000015f0| 6d 0a 20 20 20 20 62 72 | 65 61 6b 0a 20 20 63 61 |m. br|eak. ca|
|00001600| 73 65 20 22 67 6f 6c 69 | 6e 65 22 0a 20 20 20 20 |se "goli|ne". |
|00001610| 70 75 74 20 74 43 61 72 | 64 42 6f 74 74 6f 6d 20 |put tCar|dBottom |
|00001620| 2d 20 33 39 20 69 6e 74 | 6f 20 74 47 6f 4c 69 6e |- 39 int|o tGoLin|
|00001630| 65 42 6f 74 74 6f 6d 0a | 20 20 20 20 73 65 74 20 |eBottom.| set |
|00001640| 74 68 65 20 62 6f 74 74 | 6f 6d 20 6f 66 20 66 6c |the bott|om of fl|
|00001650| 64 20 22 67 6f 6c 69 6e | 65 20 6c 61 62 65 6c 22 |d "golin|e label"|
|00001660| 20 74 6f 20 74 47 6f 4c | 69 6e 65 42 6f 74 74 6f | to tGoL|ineBotto|
|00001670| 6d 0a 20 20 20 20 73 65 | 74 20 74 68 65 20 62 6f |m. se|t the bo|
|00001680| 74 74 6f 6d 20 6f 66 20 | 66 6c 64 20 22 67 6f 6c |ttom of |fld "gol|
|00001690| 69 6e 65 22 20 74 6f 20 | 74 47 6f 4c 69 6e 65 42 |ine" to |tGoLineB|
|000016a0| 6f 74 74 6f 6d 0a 20 20 | 20 20 73 65 74 20 74 68 |ottom. | set th|
|000016b0| 65 20 62 6f 74 74 6f 6d | 20 6f 66 20 62 74 6e 20 |e bottom| of btn |
|000016c0| 22 67 6f 6c 69 6e 65 22 | 20 74 6f 20 74 47 6f 4c |"goline"| to tGoL|
|000016d0| 69 6e 65 42 6f 74 74 6f | 6d 0a 20 20 20 20 62 72 |ineBotto|m. br|
|000016e0| 65 61 6b 0a 20 20 65 6e | 64 20 73 77 69 74 63 68 |eak. en|d switch|
|000016f0| 0a 0a 20 20 2d 2d 67 65 | 6f 6d 65 74 72 79 20 66 |.. --ge|ometry f|
|00001700| 6f 72 20 6d 61 69 6e 20 | 73 63 72 69 70 74 20 66 |or main |script f|
|00001710| 6c 64 2c 20 68 61 6e 64 | 6c 65 72 73 2c 20 76 61 |ld, hand|lers, va|
|00001720| 72 69 61 62 6c 65 73 20 | 74 61 62 73 0a 20 20 69 |riables |tabs. i|
|00001730| 66 20 74 68 65 20 63 53 | 68 6f 77 41 73 48 61 6e |f the cS|howAsHan|
|00001740| 64 6c 65 72 73 20 6f 66 | 20 74 68 69 73 20 63 64 |dlers of| this cd|
|00001750| 20 74 68 65 6e 0a 20 20 | 20 20 73 65 74 20 74 68 | then. | set th|
|00001760| 65 20 72 65 63 74 20 6f | 66 20 66 6c 64 20 22 64 |e rect o|f fld "d|
|00001770| 65 63 6c 61 72 61 74 69 | 6f 6e 73 22 20 74 6f 20 |eclarati|ons" to |
|00001780| 69 74 65 6d 20 31 20 74 | 6f 20 32 20 6f 66 20 74 |item 1 t|o 2 of t|
|00001790| 68 65 20 72 65 63 74 20 | 6f 66 20 66 6c 64 20 22 |he rect |of fld "|
|000017a0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 22 2c 20 74 |declarat|ions", t|
|000017b0| 43 61 72 64 52 69 67 68 | 74 20 2d 20 35 2c 20 69 |CardRigh|t - 5, i|
|000017c0| 74 65 6d 20 34 20 6f 66 | 20 74 68 65 20 72 65 63 |tem 4 of| the rec|
|000017d0| 74 20 6f 66 20 66 6c 64 | 20 22 64 65 63 6c 61 72 |t of fld| "declar|
|000017e0| 61 74 69 6f 6e 73 22 0a | 20 20 65 6e 64 20 69 66 |ations".| end if|
|000017f0| 0a 20 20 69 66 20 74 68 | 65 20 63 48 61 6e 64 6c |. if th|e cHandl|
|00001800| 65 72 4c 69 73 74 20 6f | 66 20 74 68 69 73 20 63 |erList o|f this c|
|00001810| 64 20 74 68 65 6e 0a 20 | 20 20 20 73 65 74 20 74 |d then. | set t|
|00001820| 68 65 20 72 65 63 74 20 | 6f 66 20 66 6c 64 20 22 |he rect |of fld "|
|00001830| 48 61 6e 64 6c 65 72 20 | 4c 69 73 74 22 20 74 6f |Handler |List" to|
|00001840| 20 69 74 65 6d 20 31 20 | 74 6f 20 33 20 6f 66 20 | item 1 |to 3 of |
|00001850| 74 68 65 20 72 65 63 74 | 20 6f 66 20 66 6c 64 20 |the rect| of fld |
|00001860| 22 48 61 6e 64 6c 65 72 | 20 4c 69 73 74 22 2c 20 |"Handler| List", |
|00001870| 74 43 61 72 64 42 6f 74 | 74 6f 6d 20 2d 20 35 37 |tCardBot|tom - 57|
|00001880| 0a 20 20 65 6e 64 20 69 | 66 0a 20 20 69 66 20 74 |. end i|f. if t|
|00001890| 68 65 20 70 6c 61 74 66 | 6f 72 6d 20 69 73 20 22 |he platf|orm is "|
|000018a0| 4d 61 63 4f 53 22 20 61 | 6e 64 20 63 68 61 72 20 |MacOS" a|nd char |
|000018b0| 31 20 6f 66 20 74 68 65 | 20 73 79 73 74 65 6d 56 |1 of the| systemV|
|000018c0| 65 72 73 69 6f 6e 20 69 | 73 20 22 31 22 20 74 68 |ersion i|s "1" th|
|000018d0| 65 6e 20 70 75 74 20 36 | 35 20 69 6e 74 6f 20 74 |en put 6|5 into t|
|000018e0| 42 6f 74 74 6f 6d 20 65 | 6c 73 65 20 70 75 74 20 |Bottom e|lse put |
|000018f0| 35 37 20 69 6e 74 6f 20 | 74 42 6f 74 74 6f 6d 0a |57 into |tBottom.|
|00001900| 20 20 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f | set th|e rect o|
|00001910| 66 20 66 6c 64 20 22 73 | 63 72 69 70 74 22 20 74 |f fld "s|cript" t|
|00001920| 6f 20 69 74 65 6d 20 31 | 20 74 6f 20 32 20 6f 66 |o item 1| to 2 of|
|00001930| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 66 6c 64 | the rec|t of fld|
|00001940| 20 22 73 63 72 69 70 74 | 22 2c 20 20 74 43 61 72 | "script|", tCar|
|00001950| 64 52 69 67 68 74 2c 20 | 74 43 61 72 64 42 6f 74 |dRight, |tCardBot|
|00001960| 74 6f 6d 20 2d 20 74 42 | 6f 74 74 6f 6d 0a 0a 20 |tom - tB|ottom.. |
|00001970| 20 69 66 20 6e 6f 74 20 | 74 68 65 20 63 52 45 56 | if not |the cREV|
|00001980| 4d 61 78 69 6d 69 7a 65 | 64 20 6f 66 20 74 68 69 |Maximize|d of thi|
|00001990| 73 20 63 64 20 74 68 65 | 6e 0a 20 20 20 20 73 65 |s cd the|n. se|
|000019a0| 74 20 74 68 65 20 63 52 | 45 56 55 6e 6d 61 78 69 |t the cR|EVUnmaxi|
|000019b0| 6d 69 7a 65 64 53 63 72 | 69 70 74 48 65 69 67 68 |mizedScr|iptHeigh|
|000019c0| 74 20 6f 66 20 73 74 61 | 63 6b 20 22 72 65 76 50 |t of sta|ck "revP|
|000019d0| 72 65 66 65 72 65 6e 63 | 65 73 22 20 74 6f 20 74 |referenc|es" to t|
|000019e0| 68 65 20 68 65 69 67 68 | 74 20 6f 66 20 74 68 69 |he heigh|t of thi|
|000019f0| 73 20 73 74 61 63 6b 0a | 20 20 20 20 73 65 74 20 |s stack.| set |
|00001a00| 74 68 65 20 63 52 45 56 | 55 6e 6d 61 78 69 6d 69 |the cREV|Unmaximi|
|00001a10| 7a 65 64 53 63 72 69 70 | 74 57 69 64 74 68 20 6f |zedScrip|tWidth o|
|00001a20| 66 20 73 74 61 63 6b 20 | 22 72 65 76 50 72 65 66 |f stack |"revPref|
|00001a30| 65 72 65 6e 63 65 73 22 | 20 74 6f 20 74 68 65 20 |erences"| to the |
|00001a40| 77 69 64 74 68 20 6f 66 | 20 74 68 69 73 20 73 74 |width of| this st|
|00001a50| 61 63 6b 0a 20 20 65 6e | 64 20 69 66 0a 65 6e 64 |ack. en|d if.end|
|00001a60| 20 72 65 73 69 7a 65 53 | 74 61 63 6b 0a 0a 6f 6e | resizeS|tack..on|
|00001a70| 20 70 72 65 4f 70 65 6e | 43 61 72 64 0a 20 20 67 | preOpen|Card. g|
|00001a80| 6c 6f 62 61 6c 20 67 52 | 45 56 43 6f 6d 6d 65 6e |lobal gR|EVCommen|
|00001a90| 74 43 68 61 72 61 63 74 | 65 72 2c 20 67 52 45 56 |tCharact|er, gREV|
|00001aa0| 53 63 72 69 70 74 43 6f | 6c 6f 72 73 2c 20 67 52 |ScriptCo|lors, gR|
|00001ab0| 45 56 54 6f 70 45 64 69 | 74 6f 72 2c 20 67 52 45 |EVTopEdi|tor, gRE|
|00001ac0| 56 44 6f 6e 74 44 6f 50 | 72 65 4f 70 65 6e 43 61 |VDontDoP|reOpenCa|
|00001ad0| 72 64 0a 20 20 6c 6f 63 | 6b 20 73 63 72 65 65 6e |rd. loc|k screen|
|00001ae0| 0a 20 20 2d 2d 74 65 6d | 70 6f 72 61 72 79 20 77 |. --tem|porary w|
|00001af0| 6f 72 6b 61 72 6f 75 6e | 64 20 66 6f 72 20 73 63 |orkaroun|d for sc|
|00001b00| 72 6f 6c 6c 62 61 72 73 | 20 64 69 73 61 62 6c 69 |rollbars| disabli|
|00001b10| 6e 67 0a 20 20 73 65 6e | 64 20 22 72 65 76 53 63 |ng. sen|d "revSc|
|00001b20| 72 6f 6c 6c 42 61 72 46 | 69 78 22 20 74 6f 20 6d |rollBarF|ix" to m|
|00001b30| 65 20 69 6e 20 31 35 30 | 20 6d 69 6c 6c 69 73 65 |e in 150| millise|
|00001b40| 63 6f 6e 64 73 0a 0a 20 | 20 69 66 20 67 52 45 56 |conds.. | if gREV|
|00001b50| 44 6f 6e 74 44 6f 50 72 | 65 4f 70 65 6e 43 61 72 |DontDoPr|eOpenCar|
|00001b60| 64 20 74 68 65 6e 0a 20 | 20 20 20 70 75 74 20 66 |d then. | put f|
|00001b70| 61 6c 73 65 20 69 6e 74 | 6f 20 67 52 45 56 44 6f |alse int|o gREVDo|
|00001b80| 6e 74 44 6f 50 72 65 4f | 70 65 6e 43 61 72 64 0a |ntDoPreO|penCard.|
|00001b90| 20 20 20 20 70 61 73 73 | 20 70 72 65 4f 70 65 6e | pass| preOpen|
|00001ba0| 43 61 72 64 0a 20 20 65 | 6e 64 20 69 66 0a 0a 20 |Card. e|nd if.. |
|00001bb0| 20 69 66 20 74 68 65 20 | 70 6c 61 74 66 6f 72 6d | if the |platform|
|00001bc0| 20 69 73 20 22 4d 61 63 | 4f 53 22 20 74 68 65 6e | is "Mac|OS" then|
|00001bd0| 20 73 65 74 20 74 68 65 | 20 74 6f 70 4c 65 66 74 | set the| topLeft|
|00001be0| 20 6f 66 20 62 74 6e 20 | 22 48 61 6e 64 6c 65 72 | of btn |"Handler|
|00001bf0| 73 22 20 74 6f 20 30 2c | 2d 32 30 30 0a 20 20 65 |s" to 0,|-200. e|
|00001c00| 6c 73 65 20 73 65 74 20 | 74 68 65 20 74 6f 70 4c |lse set |the topL|
|00001c10| 65 66 74 20 6f 66 20 62 | 74 6e 20 22 48 61 6e 64 |eft of b|tn "Hand|
|00001c20| 6c 65 72 73 22 20 74 6f | 20 30 2c 34 33 0a 20 20 |lers" to| 0,43. |
|00001c30| 69 66 20 74 68 65 20 63 | 52 45 56 44 6f 6e 74 4d |if the c|REVDontM|
|00001c40| 61 78 69 6d 69 7a 65 53 | 63 72 69 70 74 45 64 69 |aximizeS|criptEdi|
|00001c50| 74 6f 72 20 6f 66 20 73 | 74 61 63 6b 20 22 72 65 |tor of s|tack "re|
|00001c60| 76 50 72 65 66 65 72 65 | 6e 63 65 73 22 20 74 68 |vPrefere|nces" th|
|00001c70| 65 6e 0a 20 20 20 20 73 | 65 74 20 74 68 65 20 72 |en. s|et the r|
|00001c80| 65 63 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ect of t|his stac|
|00001c90| 6b 20 74 6f 20 74 68 65 | 20 74 6f 70 4c 65 66 74 |k to the| topLeft|
|00001ca0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 2c 20 | of this| stack, |
|00001cb0| 74 68 65 20 6c 65 66 74 | 20 6f 66 20 74 68 69 73 |the left| of this|
|00001cc0| 20 73 74 61 63 6b 20 2b | 20 74 68 65 20 63 52 45 | stack +| the cRE|
|00001cd0| 56 55 6e 6d 61 78 69 6d | 69 7a 65 64 53 63 72 69 |VUnmaxim|izedScri|
|00001ce0| 70 74 57 69 64 74 68 20 | 6f 66 20 73 74 61 63 6b |ptWidth |of stack|
|00001cf0| 20 22 72 65 76 50 72 65 | 66 65 72 65 6e 63 65 73 | "revPre|ferences|
|00001d00| 22 2c 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 |", the t|op of th|
|00001d10| 69 73 20 73 74 61 63 6b | 20 2b 20 74 68 65 20 63 |is stack| + the c|
|00001d20| 52 45 56 55 6e 6d 61 78 | 69 6d 69 7a 65 64 53 63 |REVUnmax|imizedSc|
|00001d30| 72 69 70 74 48 65 69 67 | 68 74 20 6f 66 20 73 74 |riptHeig|ht of st|
|00001d40| 61 63 6b 20 22 72 65 76 | 50 72 65 66 65 72 65 6e |ack "rev|Preferen|
|00001d50| 63 65 73 22 0a 20 20 20 | 20 73 65 74 20 74 68 65 |ces". | set the|
|00001d60| 20 63 52 45 56 43 61 72 | 64 57 69 64 74 68 20 6f | cREVCar|dWidth o|
|00001d70| 66 20 74 68 69 73 20 63 | 64 20 74 6f 20 74 68 65 |f this c|d to the|
|00001d80| 20 77 69 64 74 68 20 6f | 66 20 74 68 69 73 20 73 | width o|f this s|
|00001d90| 74 61 63 6b 0a 20 20 20 | 20 73 65 74 20 74 68 65 |tack. | set the|
|00001da0| 20 63 52 45 56 43 61 72 | 64 48 65 69 67 68 74 20 | cREVCar|dHeight |
|00001db0| 6f 66 20 74 68 69 73 20 | 63 64 20 74 6f 20 74 68 |of this |cd to th|
|00001dc0| 65 20 68 65 69 67 68 74 | 20 6f 66 20 74 68 69 73 |e height| of this|
|00001dd0| 20 73 74 61 63 6b 0a 20 | 20 65 6e 64 20 69 66 0a | stack. | end if.|
|00001de0| 0a 20 20 73 65 74 20 74 | 68 65 20 63 52 45 56 53 |. set t|he cREVS|
|00001df0| 65 6c 65 63 74 65 64 4c | 69 6e 65 20 6f 66 20 66 |electedL|ine of f|
|00001e00| 6c 64 20 22 53 63 72 69 | 70 74 22 20 74 6f 20 65 |ld "Scri|pt" to e|
|00001e10| 6d 70 74 79 0a 20 20 69 | 66 20 74 68 65 20 70 6c |mpty. i|f the pl|
|00001e20| 61 74 66 6f 72 6d 20 69 | 73 20 22 4d 61 63 4f 53 |atform i|s "MacOS|
|00001e30| 22 20 74 68 65 6e 0a 20 | 20 20 20 70 75 74 20 74 |" then. | put t|
|00001e40| 68 65 20 64 65 66 61 75 | 6c 74 53 74 61 63 6b 20 |he defau|ltStack |
|00001e50| 69 6e 74 6f 20 74 52 65 | 74 75 72 6e 0a 20 20 20 |into tRe|turn. |
|00001e60| 20 73 65 74 20 74 68 65 | 20 64 65 66 61 75 6c 74 | set the| default|
|00001e70| 53 74 61 63 6b 20 74 6f | 20 22 72 65 76 53 63 72 |Stack to| "revScr|
|00001e80| 69 70 74 4d 65 6e 75 73 | 22 0a 20 20 20 20 73 65 |iptMenus|". se|
|00001e90| 74 20 74 68 65 20 64 65 | 66 61 75 6c 74 4d 65 6e |t the de|faultMen|
|00001ea0| 75 42 61 72 20 74 6f 20 | 22 72 65 76 53 63 72 69 |uBar to |"revScri|
|00001eb0| 70 74 4d 65 6e 75 73 22 | 0a 20 20 20 20 73 65 74 |ptMenus"|. set|
|00001ec0| 20 74 68 65 20 64 65 66 | 61 75 6c 74 53 74 61 63 | the def|aultStac|
|00001ed0| 6b 20 74 6f 20 74 52 65 | 74 75 72 6e 0a 20 20 20 |k to tRe|turn. |
|00001ee0| 20 70 75 74 20 74 52 65 | 74 75 72 6e 20 69 6e 74 | put tRe|turn int|
|00001ef0| 6f 20 67 52 45 56 54 6f | 70 45 64 69 74 6f 72 0a |o gREVTo|pEditor.|
|00001f00| 20 20 20 20 73 65 74 20 | 74 68 65 20 74 6f 70 4c | set |the topL|
|00001f10| 65 66 74 20 6f 66 20 67 | 72 6f 75 70 20 22 6e 6f |eft of g|roup "no|
|00001f20| 6e 20 6d 61 63 20 6d 65 | 6e 75 73 22 20 74 6f 20 |n mac me|nus" to |
|00001f30| 2d 31 30 30 30 2c 2d 31 | 30 30 30 0a 20 20 65 6c |-1000,-1|000. el|
|00001f40| 73 65 20 69 66 20 74 68 | 65 20 74 6f 70 4c 65 66 |se if th|e topLef|
|00001f50| 74 20 6f 66 20 67 72 6f | 75 70 20 22 6e 6f 6e 20 |t of gro|up "non |
|00001f60| 6d 61 63 20 6d 65 6e 75 | 73 22 20 69 73 20 2d 31 |mac menu|s" is -1|
|00001f70| 30 30 30 2c 2d 31 30 30 | 30 20 74 68 65 6e 0a 20 |000,-100|0 then. |
|00001f80| 20 20 20 73 65 74 20 74 | 68 65 20 74 6f 70 4c 65 | set t|he topLe|
|00001f90| 66 74 20 6f 66 20 67 72 | 6f 75 70 20 22 6e 6f 6e |ft of gr|oup "non|
|00001fa0| 20 6d 61 63 20 6d 65 6e | 75 73 22 20 74 6f 20 74 | mac men|us" to t|
|00001fb0| 68 65 20 31 38 30 2c 33 | 39 0a 20 20 65 6e 64 20 |he 180,3|9. end |
|00001fc0| 69 66 0a 0a 20 20 69 66 | 20 67 52 45 56 53 63 72 |if.. if| gREVScr|
|00001fd0| 69 70 74 43 6f 6c 6f 72 | 73 5b 22 69 66 22 5d 20 |iptColor|s["if"] |
|00001fe0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 72 65 |is empty| then re|
|00001ff0| 76 53 65 74 75 70 43 6f | 6c 6f 72 73 0a 20 20 73 |vSetupCo|lors. s|
|00002000| 65 74 20 74 68 65 20 63 | 53 63 72 69 70 74 53 61 |et the c|ScriptSa|
|00002010| 76 65 64 20 6f 66 20 74 | 68 69 73 20 63 64 20 74 |ved of t|his cd t|
|00002020| 6f 20 74 72 75 65 0a 20 | 20 73 65 74 20 74 68 65 |o true. | set the|
|00002030| 20 63 4c 69 76 65 43 6f | 6c 6f 72 20 6f 66 20 74 | cLiveCo|lor of t|
|00002040| 68 69 73 20 63 64 20 74 | 6f 20 74 68 65 20 63 4c |his cd t|o the cL|
|00002050| 69 76 65 43 6f 6c 6f 72 | 20 6f 66 20 73 74 61 63 |iveColor| of stac|
|00002060| 6b 20 22 72 65 76 50 72 | 65 66 65 72 65 6e 63 65 |k "revPr|eference|
|00002070| 73 22 0a 20 20 73 65 74 | 20 74 68 65 20 63 44 6f |s". set| the cDo|
|00002080| 6e 74 57 72 61 70 20 6f | 66 20 74 68 69 73 20 63 |ntWrap o|f this c|
|00002090| 64 20 74 6f 20 74 68 65 | 20 63 44 6f 6e 74 57 72 |d to the| cDontWr|
|000020a0| 61 70 20 6f 66 20 73 74 | 61 63 6b 20 22 72 65 76 |ap of st|ack "rev|
|000020b0| 50 72 65 66 65 72 65 6e | 63 65 73 22 0a 20 20 73 |Preferen|ces". s|
|000020c0| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|000020d0| 20 62 74 6e 20 22 57 72 | 61 70 74 65 78 74 22 20 | btn "Wr|aptext" |
|000020e0| 74 6f 20 6e 6f 74 20 74 | 68 65 20 63 44 6f 6e 74 |to not t|he cDont|
|000020f0| 57 72 61 70 20 6f 66 20 | 73 74 61 63 6b 20 22 72 |Wrap of |stack "r|
|00002100| 65 76 50 72 65 66 65 72 | 65 6e 63 65 73 22 0a 20 |evPrefer|ences". |
|00002110| 20 73 65 74 20 74 68 65 | 20 64 6f 6e 74 57 72 61 | set the| dontWra|
|00002120| 70 20 6f 66 20 66 6c 64 | 20 22 73 63 72 69 70 74 |p of fld| "script|
|00002130| 22 20 74 6f 20 74 68 65 | 20 63 44 6f 6e 74 57 72 |" to the| cDontWr|
|00002140| 61 70 20 6f 66 20 73 74 | 61 63 6b 20 22 72 65 76 |ap of st|ack "rev|
|00002150| 50 72 65 66 65 72 65 6e | 63 65 73 22 0a 20 20 69 |Preferen|ces". i|
|00002160| 66 20 74 68 65 20 63 44 | 6f 6e 74 57 72 61 70 20 |f the cD|ontWrap |
|00002170| 6f 66 20 73 74 61 63 6b | 20 22 72 65 76 50 72 65 |of stack| "revPre|
|00002180| 66 65 72 65 6e 63 65 73 | 22 20 74 68 65 6e 0a 20 |ferences|" then. |
|00002190| 20 20 20 73 65 74 20 74 | 68 65 20 74 6f 6f 6c 54 | set t|he toolT|
|000021a0| 69 70 20 6f 66 20 62 74 | 6e 20 22 57 72 61 70 74 |ip of bt|n "Wrapt|
|000021b0| 65 78 74 22 20 74 6f 20 | 22 43 6c 69 63 6b 20 74 |ext" to |"Click t|
|000021c0| 6f 20 77 72 61 70 20 6c | 6f 6e 67 20 73 63 72 69 |o wrap l|ong scri|
|000021d0| 70 74 20 6c 69 6e 65 73 | 20 6f 6e 74 6f 20 6d 6f |pt lines| onto mo|
|000021e0| 72 65 20 74 68 61 6e 20 | 6f 6e 65 20 6c 69 6e 65 |re than |one line|
|000021f0| 22 0a 20 20 65 6c 73 65 | 0a 20 20 20 20 73 65 74 |". else|. set|
|00002200| 20 74 68 65 20 74 6f 6f | 6c 54 69 70 20 6f 66 20 | the too|lTip of |
|00002210| 62 74 6e 20 22 57 72 61 | 70 74 65 78 74 22 20 74 |btn "Wra|ptext" t|
|00002220| 6f 20 22 43 6c 69 63 6b | 20 74 6f 20 6b 65 65 70 |o "Click| to keep|
|00002230| 20 6c 6f 6e 67 20 73 63 | 72 69 70 74 20 6c 69 6e | long sc|ript lin|
|00002240| 65 73 20 6f 6e 20 61 20 | 73 69 6e 67 6c 65 20 6c |es on a |single l|
|00002250| 69 6e 65 22 0a 20 20 65 | 6e 64 20 69 66 0a 0a 20 |ine". e|nd if.. |
|00002260| 20 73 65 74 20 74 68 65 | 20 63 50 72 65 76 69 6f | set the| cPrevio|
|00002270| 75 73 48 61 6e 64 6c 65 | 72 20 6f 66 20 74 68 69 |usHandle|r of thi|
|00002280| 73 20 63 64 20 74 6f 20 | 65 6d 70 74 79 0a 20 20 |s cd to |empty. |
|00002290| 73 65 74 20 74 68 65 20 | 63 48 61 6e 64 6c 65 72 |set the |cHandler|
|000022a0| 4c 69 73 74 20 6f 66 20 | 74 68 69 73 20 63 64 20 |List of |this cd |
|000022b0| 74 6f 20 74 68 65 20 63 | 48 61 6e 64 6c 65 72 4c |to the c|HandlerL|
|000022c0| 69 73 74 20 6f 66 20 73 | 74 61 63 6b 20 22 72 65 |ist of s|tack "re|
|000022d0| 76 50 72 65 66 65 72 65 | 6e 63 65 73 22 0a 20 20 |vPrefere|nces". |
|000022e0| 73 65 74 20 74 68 65 20 | 63 53 6f 72 74 20 6f 66 |set the |cSort of|
|000022f0| 20 74 68 69 73 20 63 64 | 20 74 6f 20 74 68 65 20 | this cd| to the |
|00002300| 63 53 6f 72 74 20 6f 66 | 20 73 74 61 63 6b 20 22 |cSort of| stack "|
|00002310| 72 65 76 50 72 65 66 65 | 72 65 6e 63 65 73 22 0a |revPrefe|rences".|
|00002320| 20 20 73 65 74 20 74 68 | 65 20 63 57 68 6f 6c 65 | set th|e cWhole|
|00002330| 4d 61 74 63 68 65 73 20 | 6f 66 20 74 68 69 73 20 |Matches |of this |
|00002340| 63 64 20 74 6f 20 74 68 | 65 20 63 57 68 6f 6c 65 |cd to th|e cWhole|
|00002350| 4d 61 74 63 68 65 73 20 | 6f 66 20 73 74 61 63 6b |Matches |of stack|
|00002360| 20 22 72 65 76 50 72 65 | 66 65 72 65 6e 63 65 73 | "revPre|ferences|
|00002370| 22 0a 20 20 73 65 74 20 | 74 68 65 20 63 43 61 73 |". set |the cCas|
|00002380| 65 53 65 6e 73 69 74 69 | 76 65 20 6f 66 20 74 68 |eSensiti|ve of th|
|00002390| 69 73 20 63 64 20 74 6f | 20 74 68 65 20 63 43 61 |is cd to| the cCa|
|000023a0| 73 65 53 65 6e 73 69 74 | 69 76 65 20 6f 66 20 73 |seSensit|ive of s|
|000023b0| 74 61 63 6b 20 22 72 65 | 76 50 72 65 66 65 72 65 |tack "re|vPrefere|
|000023c0| 6e 63 65 73 22 0a 0a 20 | 20 70 75 74 20 74 68 65 |nces".. | put the|
|000023d0| 20 73 63 72 69 70 74 54 | 65 78 74 46 6f 6e 74 20 | scriptT|extFont |
|000023e0| 69 6e 74 6f 20 74 46 6f | 6e 74 0a 20 20 69 66 20 |into tFo|nt. if |
|000023f0| 74 46 6f 6e 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |tFont is| not emp|
|00002400| 74 79 20 74 68 65 6e 20 | 73 65 74 20 74 65 78 74 |ty then |set text|
|00002410| 46 6f 6e 74 20 6f 66 20 | 66 6c 64 20 22 73 63 72 |Font of |fld "scr|
|00002420| 69 70 74 22 20 74 6f 20 | 74 46 6f 6e 74 0a 20 20 |ipt" to |tFont. |
|00002430| 65 6c 73 65 20 73 65 74 | 20 74 68 65 20 74 65 78 |else set| the tex|
|00002440| 74 46 6f 6e 74 20 6f 66 | 20 66 6c 64 20 22 73 63 |tFont of| fld "sc|
|00002450| 72 69 70 74 22 20 74 6f | 20 74 68 65 20 74 65 78 |ript" to| the tex|
|00002460| 74 46 6f 6e 74 20 6f 66 | 20 66 6c 64 20 22 73 63 |tFont of| fld "sc|
|00002470| 72 69 70 74 22 20 6f 66 | 20 63 64 20 22 72 65 76 |ript" of| cd "rev|
|00002480| 53 63 72 69 70 74 22 20 | 6f 66 20 73 74 61 63 6b |Script" |of stack|
|00002490| 20 22 72 65 76 53 63 72 | 69 70 74 22 0a 20 20 70 | "revScr|ipt". p|
|000024a0| 75 74 20 74 68 65 20 73 | 63 72 69 70 74 54 65 78 |ut the s|criptTex|
|000024b0| 74 53 69 7a 65 20 69 6e | 74 6f 20 74 46 6f 6e 74 |tSize in|to tFont|
|000024c0| 0a 20 20 69 66 20 74 46 | 6f 6e 74 20 69 73 20 6e |. if tF|ont is n|
|000024d0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 73 65 |ot empty| then se|
|000024e0| 74 20 74 65 78 74 53 69 | 7a 65 20 6f 66 20 66 6c |t textSi|ze of fl|
|000024f0| 64 20 22 73 63 72 69 70 | 74 22 20 74 6f 20 74 46 |d "scrip|t" to tF|
|00002500| 6f 6e 74 0a 20 20 65 6c | 73 65 20 73 65 74 20 74 |ont. el|se set t|
|00002510| 68 65 20 74 65 78 74 53 | 69 7a 65 20 6f 66 20 66 |he textS|ize of f|
|00002520| 6c 64 20 22 73 63 72 69 | 70 74 22 20 74 6f 20 74 |ld "scri|pt" to t|
|00002530| 68 65 20 74 65 78 74 53 | 69 7a 65 20 6f 66 20 66 |he textS|ize of f|
|00002540| 6c 64 20 22 73 63 72 69 | 70 74 22 20 6f 66 20 63 |ld "scri|pt" of c|
|00002550| 64 20 22 72 65 76 53 63 | 72 69 70 74 22 20 6f 66 |d "revSc|ript" of|
|00002560| 20 73 74 61 63 6b 20 22 | 72 65 76 53 63 72 69 70 | stack "|revScrip|
|00002570| 74 22 0a 20 20 70 75 74 | 20 74 68 65 20 63 52 45 |t". put| the cRE|
|00002580| 56 53 63 72 69 70 74 54 | 65 78 74 48 65 69 67 68 |VScriptT|extHeigh|
|00002590| 74 20 6f 66 20 73 74 61 | 63 6b 20 22 72 65 76 50 |t of sta|ck "revP|
|000025a0| 72 65 66 65 72 65 6e 63 | 65 73 22 20 69 6e 74 6f |referenc|es" into|
|000025b0| 20 74 46 6f 6e 74 0a 20 | 20 69 66 20 74 46 6f 6e | tFont. | if tFon|
|000025c0| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|000025d0| 68 65 6e 20 73 65 74 20 | 74 65 78 74 48 65 69 67 |hen set |textHeig|
|000025e0| 68 74 20 6f 66 20 66 6c | 64 20 22 73 63 72 69 70 |ht of fl|d "scrip|
|000025f0| 74 22 20 74 6f 20 74 46 | 6f 6e 74 0a 20 20 70 75 |t" to tF|ont. pu|
|00002600| 74 20 74 68 65 20 63 52 | 45 56 53 63 72 69 70 74 |t the cR|EVScript|
|00002610| 43 6f 6c 6f 72 20 6f 66 | 20 73 74 61 63 6b 20 22 |Color of| stack "|
|00002620| 72 65 76 50 72 65 66 65 | 72 65 6e 63 65 73 22 20 |revPrefe|rences" |
|00002630| 69 6e 74 6f 20 74 46 6f | 6e 74 0a 20 20 69 66 20 |into tFo|nt. if |
|00002640| 74 46 6f 6e 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |tFont is| not emp|
|00002650| 74 79 20 61 6e 64 20 74 | 46 6f 6e 74 20 69 73 20 |ty and t|Font is |
|00002660| 61 20 63 6f 6c 6f 72 20 | 74 68 65 6e 20 73 65 74 |a color |then set|
|00002670| 20 74 68 65 20 62 61 63 | 6b 43 6f 6c 6f 72 20 6f | the bac|kColor o|
|00002680| 66 20 66 6c 64 20 22 73 | 63 72 69 70 74 22 20 74 |f fld "s|cript" t|
|00002690| 6f 20 74 46 6f 6e 74 0a | 20 20 73 65 74 20 74 68 |o tFont.| set th|
|000026a0| 65 20 6c 6f 63 20 6f 66 | 20 67 72 6f 75 70 20 22 |e loc of| group "|
|000026b0| 70 61 73 73 77 6f 72 64 | 20 70 72 6f 74 65 63 74 |password| protect|
|000026c0| 65 64 22 20 74 6f 20 2d | 35 30 30 30 2c 2d 35 30 |ed" to -|5000,-50|
|000026d0| 30 30 0a 0a 20 20 69 66 | 20 74 68 65 20 63 52 45 |00.. if| the cRE|
|000026e0| 56 4c 69 6e 6b 65 64 20 | 6f 66 20 74 68 69 73 20 |VLinked |of this |
|000026f0| 73 74 61 63 6b 20 69 73 | 20 6e 6f 74 20 65 6d 70 |stack is| not emp|
|00002700| 74 79 20 74 68 65 6e 0a | 20 20 20 20 70 75 74 20 |ty then.| put |
|00002710| 74 68 65 20 63 52 45 56 | 4c 69 6e 6b 65 64 20 6f |the cREV|Linked o|
|00002720| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |f this s|tack int|
|00002730| 6f 20 74 4f 62 6a 65 63 | 74 73 4c 69 73 74 0a 20 |o tObjec|tsList. |
|00002740| 20 65 6c 73 65 0a 20 20 | 20 20 70 75 74 20 28 74 | else. | put (t|
|00002750| 68 65 20 73 65 6c 4f 62 | 6a 29 20 69 6e 74 6f 20 |he selOb|j) into |
|00002760| 74 4f 62 6a 65 63 74 73 | 4c 69 73 74 0a 20 20 65 |tObjects|List. e|
|00002770| 6e 64 20 69 66 0a 0a 20 | 20 70 75 74 20 6c 69 6e |nd if.. | put lin|
|00002780| 65 20 31 20 6f 66 20 74 | 4f 62 6a 65 63 74 73 4c |e 1 of t|ObjectsL|
|00002790| 69 73 74 20 69 6e 74 6f | 20 74 4f 62 6a 65 63 74 |ist into| tObject|
|000027a0| 0a 20 20 69 66 20 74 4f | 62 6a 65 63 74 20 69 73 |. if tO|bject is|
|000027b0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|000027c0| 20 70 72 65 4f 70 65 6e | 43 61 72 64 0a 20 20 69 | preOpen|Card. i|
|000027d0| 66 20 74 68 65 20 63 52 | 45 56 47 65 6e 65 72 61 |f the cR|EVGenera|
|000027e0| 6c 5b 22 73 68 6f 77 41 | 73 48 61 6e 64 6c 65 72 |l["showA|sHandler|
|000027f0| 73 22 5d 20 6f 66 20 74 | 4f 62 6a 65 63 74 20 69 |s"] of t|Object i|
|00002800| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00002810| 20 73 65 74 20 74 68 65 | 20 63 53 68 6f 77 41 73 | set the| cShowAs|
|00002820| 48 61 6e 64 6c 65 72 73 | 20 6f 66 20 74 68 69 73 |Handlers| of this|
|00002830| 20 63 64 20 74 6f 20 74 | 68 65 20 63 52 45 56 47 | cd to t|he cREVG|
|00002840| 65 6e 65 72 61 6c 5b 22 | 73 68 6f 77 41 73 48 61 |eneral["|showAsHa|
|00002850| 6e 64 6c 65 72 73 22 5d | 20 6f 66 20 74 4f 62 6a |ndlers"]| of tObj|
|00002860| 65 63 74 0a 20 20 65 6c | 73 65 20 73 65 74 20 74 |ect. el|se set t|
|00002870| 68 65 20 63 53 68 6f 77 | 41 73 48 61 6e 64 6c 65 |he cShow|AsHandle|
|00002880| 72 73 20 6f 66 20 74 68 | 69 73 20 63 64 20 74 6f |rs of th|is cd to|
|00002890| 20 74 68 65 20 63 53 68 | 6f 77 41 73 48 61 6e 64 | the cSh|owAsHand|
|000028a0| 6c 65 72 73 20 6f 66 20 | 73 74 61 63 6b 20 22 72 |lers of |stack "r|
|000028b0| 65 76 50 72 65 66 65 72 | 65 6e 63 65 73 22 0a 20 |evPrefer|ences". |
|000028c0| 20 69 66 20 74 68 65 20 | 63 43 6f 6d 6d 65 6e 74 | if the |cComment|
|000028d0| 43 68 61 72 61 63 74 65 | 72 20 6f 66 20 73 74 61 |Characte|r of sta|
|000028e0| 63 6b 20 22 72 65 76 50 | 72 65 66 65 72 65 6e 63 |ck "revP|referenc|
|000028f0| 65 73 22 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |es" is n|ot empty|
|00002900| 20 74 68 65 6e 20 70 75 | 74 20 74 68 65 20 63 43 | then pu|t the cC|
|00002910| 6f 6d 6d 65 6e 74 43 68 | 61 72 61 63 74 65 72 20 |ommentCh|aracter |
|00002920| 6f 66 20 73 74 61 63 6b | 20 22 72 65 76 50 72 65 |of stack| "revPre|
|00002930| 66 65 72 65 6e 63 65 73 | 22 20 69 6e 74 6f 20 67 |ferences|" into g|
|00002940| 52 45 56 43 6f 6d 6d 65 | 6e 74 43 68 61 72 61 63 |REVComme|ntCharac|
|00002950| 74 65 72 0a 20 20 65 6c | 73 65 20 70 75 74 20 22 |ter. el|se put "|
|00002960| 2d 2d 22 20 69 6e 74 6f | 20 67 52 45 56 43 6f 6d |--" into| gREVCom|
|00002970| 6d 65 6e 74 43 68 61 72 | 61 63 74 65 72 0a 20 20 |mentChar|acter. |
|00002980| 72 65 73 69 7a 65 53 74 | 61 63 6b 0a 20 20 72 65 |resizeSt|ack. re|
|00002990| 76 55 70 64 61 74 65 50 | 61 6c 65 74 74 65 0a 0a |vUpdateP|alette..|
|000029a0| 20 20 2d 2d 20 70 75 74 | 20 74 68 65 20 73 63 72 | -- put| the scr|
|000029b0| 6f 6c 6c 20 6f 66 20 66 | 6c 64 20 22 73 63 72 69 |oll of f|ld "scri|
|000029c0| 70 74 22 20 26 20 63 72 | 20 26 20 6c 52 65 73 74 |pt" & cr| & lRest|
|000029d0| 6f 72 65 20 26 20 74 68 | 65 20 6c 69 6e 65 20 28 |ore & th|e line (|
|000029e0| 77 6f 72 64 20 32 20 6f | 66 20 74 68 65 20 73 65 |word 2 o|f the se|
|000029f0| 6c 65 63 74 65 64 4c 69 | 6e 65 29 20 6f 66 20 66 |lectedLi|ne) of f|
|00002a00| 6c 64 20 22 73 63 72 69 | 70 74 22 0a 20 20 2d 2d |ld "scri|pt". --|
|00002a10| 73 65 74 20 74 68 65 20 | 73 63 72 6f 6c 6c 20 6f |set the |scroll o|
|00002a20| 66 20 66 6c 64 20 22 73 | 63 72 69 70 74 22 20 74 |f fld "s|cript" t|
|00002a30| 6f 20 6c 52 65 73 74 6f | 72 65 0a 20 20 2d 2d 73 |o lResto|re. --s|
|00002a40| 65 74 20 74 68 65 20 68 | 53 63 72 6f 6c 6c 20 6f |et the h|Scroll o|
|00002a50| 66 20 66 6c 64 20 22 73 | 63 72 69 70 74 22 20 74 |f fld "s|cript" t|
|00002a60| 6f 20 30 0a 20 20 69 66 | 20 74 68 65 20 73 65 6c |o 0. if| the sel|
|00002a70| 65 63 74 65 64 4c 6f 63 | 20 69 73 20 6e 6f 74 20 |ectedLoc| is not |
|00002a80| 65 6d 70 74 79 20 61 6e | 64 20 74 68 65 20 73 68 |empty an|d the sh|
|00002a90| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |ort name| of the |
|00002aa0| 73 65 6c 65 63 74 65 64 | 46 69 65 6c 64 20 69 73 |selected|Field is|
|00002ab0| 20 22 73 63 72 69 70 74 | 22 20 74 68 65 6e 0a 20 | "script|" then. |
|00002ac0| 20 20 20 69 66 20 69 74 | 65 6d 20 31 20 6f 66 20 | if it|em 1 of |
|00002ad0| 74 68 65 20 73 65 6c 65 | 63 74 65 64 4c 6f 63 20 |the sele|ctedLoc |
|00002ae0| 3e 20 74 68 65 20 72 69 | 67 68 74 20 6f 66 20 66 |> the ri|ght of f|
|00002af0| 6c 64 20 22 73 63 72 69 | 70 74 22 20 74 68 65 6e |ld "scri|pt" then|
|00002b00| 20 73 65 74 20 74 68 65 | 20 68 53 63 72 6f 6c 6c | set the| hScroll|
|00002b10| 20 6f 66 20 66 6c 64 20 | 22 73 63 72 69 70 74 22 | of fld |"script"|
|00002b20| 20 74 6f 20 28 69 74 65 | 6d 20 31 20 6f 66 20 74 | to (ite|m 1 of t|
|00002b30| 68 65 20 73 65 6c 65 63 | 74 65 64 4c 6f 63 29 20 |he selec|tedLoc) |
|00002b40| 2b 20 74 68 65 20 68 53 | 63 72 6f 6c 6c 20 6f 66 |+ the hS|croll of|
|00002b50| 20 66 6c 64 20 22 73 63 | 72 69 70 74 22 20 2d 20 | fld "sc|ript" - |
|00002b60| 74 68 65 20 77 69 64 74 | 68 20 6f 66 20 66 6c 64 |the widt|h of fld|
|00002b70| 20 22 73 63 72 69 70 74 | 22 20 2b 20 32 34 0a 20 | "script|" + 24. |
|00002b80| 20 20 20 69 66 20 69 74 | 65 6d 20 32 20 6f 66 20 | if it|em 2 of |
|00002b90| 74 68 65 20 73 65 6c 65 | 63 74 65 64 4c 6f 63 20 |the sele|ctedLoc |
|00002ba0| 3e 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |> the bo|ttom of |
|00002bb0| 66 6c 64 20 22 73 63 72 | 69 70 74 22 20 74 68 65 |fld "scr|ipt" the|
|00002bc0| 6e 20 73 65 74 20 74 68 | 65 20 76 53 63 72 6f 6c |n set th|e vScrol|
|00002bd0| 6c 20 6f 66 20 66 6c 64 | 20 22 73 63 72 69 70 74 |l of fld| "script|
|00002be0| 22 20 74 6f 20 28 69 74 | 65 6d 20 32 20 6f 66 20 |" to (it|em 2 of |
|00002bf0| 74 68 65 20 73 65 6c 65 | 63 74 65 64 4c 6f 63 29 |the sele|ctedLoc)|
|00002c00| 20 2b 20 74 68 65 20 76 | 53 63 72 6f 6c 6c 20 6f | + the v|Scroll o|
|00002c10| 66 20 66 6c 64 20 22 73 | 63 72 69 70 74 22 20 2d |f fld "s|cript" -|
|00002c20| 20 74 68 65 20 68 65 69 | 67 68 74 20 6f 66 20 66 | the hei|ght of f|
|00002c30| 6c 64 20 22 73 63 72 69 | 70 74 22 20 2b 20 32 34 |ld "scri|pt" + 24|
|00002c40| 0a 20 20 65 6e 64 20 69 | 66 0a 20 20 2d 2d 2a 2a |. end i|f. --**|
|00002c50| 62 75 67 3f 2d 2d 69 66 | 20 74 68 65 20 73 65 6c |bug?--if| the sel|
|00002c60| 65 63 74 65 64 43 68 75 | 6e 6b 20 69 73 20 65 6d |ectedChu|nk is em|
|00002c70| 70 74 79 20 74 68 65 6e | 20 73 65 6c 65 63 74 20 |pty then| select |
|00002c80| 62 65 66 6f 72 65 20 74 | 65 78 74 20 6f 66 20 66 |before t|ext of f|
|00002c90| 6c 64 20 22 73 63 72 69 | 70 74 22 0a 20 20 70 75 |ld "scri|pt". pu|
|00002ca0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6c 52 65 |t empty |into lRe|
|00002cb0| 73 74 6f 72 65 0a 0a 20 | 20 75 6e 6c 6f 63 6b 20 |store.. | unlock |
|00002cc0| 73 63 72 65 65 6e 0a 20 | 20 70 61 73 73 20 70 72 |screen. | pass pr|
|00002cd0| 65 4f 70 65 6e 43 61 72 | 64 0a 65 6e 64 20 70 72 |eOpenCar|d.end pr|
|00002ce0| 65 4f 70 65 6e 43 61 72 | 64 0a 0a 6f 6e 20 72 65 |eOpenCar|d..on re|
|00002cf0| 76 53 63 72 6f 6c 6c 42 | 61 72 46 69 78 0a 20 20 |vScrollB|arFix. |
|00002d00| 2d 2d 74 65 6d 70 6f 72 | 61 72 79 20 77 6f 72 6b |--tempor|ary work|
|00002d10| 61 72 6f 75 6e 64 20 73 | 63 72 6f 6c 6c 62 61 72 |around s|crollbar|
|00002d20| 20 64 69 73 61 62 6c 69 | 6e 67 0a 20 20 69 66 20 | disabli|ng. if |
|00002d30| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00002d40| 66 20 74 68 69 73 20 63 | 64 20 69 73 20 6e 6f 74 |f this c|d is not|
|00002d50| 20 22 72 65 76 53 63 72 | 69 70 74 22 20 74 68 65 | "revScr|ipt" the|
|00002d60| 6e 20 65 78 69 74 20 72 | 65 76 53 63 72 6f 6c 6c |n exit r|evScroll|
|00002d70| 62 61 72 46 69 78 0a 20 | 20 65 6e 61 62 6c 65 20 |barFix. | enable |
|00002d80| 66 6c 64 20 22 73 63 72 | 69 70 74 22 0a 65 6e 64 |fld "scr|ipt".end|
|00002d90| 20 72 65 76 53 63 72 6f | 6c 6c 42 61 72 46 69 78 | revScro|llBarFix|
|00002da0| 0a 0a 6f 6e 20 72 65 76 | 50 72 65 4f 70 65 6e 43 |..on rev|PreOpenC|
|00002db0| 61 72 64 0a 20 20 70 72 | 65 4f 70 65 6e 43 61 72 |ard. pr|eOpenCar|
|00002dc0| 64 0a 65 6e 64 20 72 65 | 76 50 72 65 4f 70 65 6e |d.end re|vPreOpen|
|00002dd0| 43 61 72 64 0a 0a 6f 6e | 20 72 65 76 55 70 64 61 |Card..on| revUpda|
|00002de0| 74 65 50 61 6c 65 74 74 | 65 0a 20 20 2d 2d 74 65 |tePalett|e. --te|
|00002df0| 6d 70 6f 72 61 72 79 20 | 77 6f 72 6b 61 72 6f 75 |mporary |workarou|
|00002e00| 6e 64 20 66 6f 72 20 73 | 63 72 6f 6c 6c 62 61 72 |nd for s|crollbar|
|00002e10| 73 20 64 69 73 61 62 6c | 69 6e 67 0a 20 20 73 65 |s disabl|ing. se|
|00002e20| 6e 64 20 22 72 65 76 53 | 63 72 6f 6c 6c 42 61 72 |nd "revS|crollBar|
|00002e30| 46 69 78 22 20 74 6f 20 | 6d 65 20 69 6e 20 31 35 |Fix" to |me in 15|
|00002e40| 30 20 6d 69 6c 6c 69 73 | 65 63 6f 6e 64 73 0a 0a |0 millis|econds..|
|00002e50| 20 20 69 66 20 6e 6f 74 | 20 74 68 65 20 63 53 63 | if not| the cSc|
|00002e60| 72 69 70 74 53 61 76 65 | 64 20 6f 66 20 74 68 69 |riptSave|d of thi|
|00002e70| 73 20 63 64 20 74 68 65 | 6e 20 72 65 76 43 68 65 |s cd the|n revChe|
|00002e80| 63 6b 53 63 72 69 70 74 | 53 61 76 65 64 0a 20 20 |ckScript|Saved. |
|00002e90| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0a 20 20 69 66 |lock scr|een. if|
|00002ea0| 20 6e 6f 74 20 74 68 65 | 20 63 53 68 6f 77 41 73 | not the| cShowAs|
|00002eb0| 48 61 6e 64 6c 65 72 73 | 20 6f 66 20 74 68 69 73 |Handlers| of this|
|00002ec0| 20 63 64 20 74 68 65 6e | 0a 20 20 20 20 69 66 20 | cd then|. if |
|00002ed0| 74 68 65 20 74 6f 70 4c | 65 66 74 20 6f 66 20 67 |the topL|eft of g|
|00002ee0| 72 6f 75 70 20 22 68 65 | 61 64 65 72 22 20 69 73 |roup "he|ader" is|
|00002ef0| 20 6e 6f 74 20 22 2d 34 | 30 30 2c 2d 34 30 30 22 | not "-4|00,-400"|
|00002f00| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 63 53 | then se|t the cS|
|00002f10| 68 6f 77 4c 65 66 74 20 | 6f 66 20 67 72 6f 75 70 |howLeft |of group|
|00002f20| 20 22 68 65 61 64 65 72 | 22 20 74 6f 20 74 68 65 | "header|" to the|
|00002f30| 20 74 6f 70 4c 65 66 74 | 20 6f 66 20 67 72 6f 75 | topLeft| of grou|
|00002f40| 70 20 22 68 65 61 64 65 | 72 22 0a 20 20 20 20 73 |p "heade|r". s|
|00002f50| 65 74 20 74 68 65 20 74 | 6f 70 4c 65 66 74 20 6f |et the t|opLeft o|
|00002f60| 66 20 67 72 6f 75 70 20 | 22 68 65 61 64 65 72 22 |f group |"header"|
|00002f70| 20 74 6f 20 2d 34 30 30 | 2c 2d 34 30 30 0a 20 20 | to -400|,-400. |
|00002f80| 20 20 70 75 74 20 74 68 | 65 20 72 65 63 74 20 6f | put th|e rect o|
|00002f90| 66 20 66 6c 64 20 22 73 | 63 72 69 70 74 22 20 69 |f fld "s|cript" i|
|00002fa0| 6e 74 6f 20 74 50 72 65 | 76 52 65 63 74 0a 20 20 |nto tPre|vRect. |
|00002fb0| 20 20 70 75 74 20 74 68 | 65 20 62 6f 74 74 6f 6d | put th|e bottom|
|00002fc0| 20 6f 66 20 62 74 6e 20 | 22 62 6f 6c 64 22 20 2b | of btn |"bold" +|
|00002fd0| 20 34 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f | 4 into |item 2 o|
|00002fe0| 66 20 74 50 72 65 76 52 | 65 63 74 0a 20 20 20 20 |f tPrevR|ect. |
|00002ff0| 73 65 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |set the |rect of |
|00003000| 66 6c 64 20 22 73 63 72 | 69 70 74 22 20 74 6f 20 |fld "scr|ipt" to |
|00003010| 74 50 72 65 76 52 65 63 | 74 0a 20 20 65 6c 73 65 |tPrevRec|t. else|
|00003020| 0a 20 20 20 20 73 65 74 | 20 74 68 65 20 74 6f 70 |. set| the top|
|00003030| 4c 65 66 74 20 6f 66 20 | 67 72 6f 75 70 20 22 68 |Left of |group "h|
|00003040| 65 61 64 65 72 22 20 74 | 6f 20 74 68 65 20 63 53 |eader" t|o the cS|
|00003050| 68 6f 77 4c 65 66 74 20 | 6f 66 20 67 72 6f 75 70 |howLeft |of group|
|00003060| 20 22 68 65 61 64 65 72 | 22 0a 20 20 20 20 70 75 | "header|". pu|
|00003070| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 66 6c |t the re|ct of fl|
|00003080| 64 20 22 73 63 72 69 70 | 74 22 20 69 6e 74 6f 20 |d "scrip|t" into |
|00003090| 74 50 72 65 76 52 65 63 | 74 0a 20 20 20 20 70 75 |tPrevRec|t. pu|
|000030a0| 74 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |t the bo|ttom of |
|000030b0| 62 74 6e 20 22 64 65 63 | 6c 61 72 61 74 69 6f 6e |btn "dec|laration|
|000030c0| 73 20 73 65 6c 65 63 74 | 6f 72 22 20 2b 20 34 20 |s select|or" + 4 |
|000030d0| 69 6e 74 6f 20 69 74 65 | 6d 20 32 20 6f 66 20 74 |into ite|m 2 of t|
|000030e0| 50 72 65 76 72 65 63 74 | 0a 20 20 20 20 73 65 74 |Prevrect|. set|
|000030f0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 66 6c 64 | the rec|t of fld|
|00003100| 20 22 73 63 72 69 70 74 | 22 20 74 6f 20 74 50 72 | "script|" to tPr|
|00003110| 65 76 72 65 63 74 0a 20 | 20 65 6e 64 20 69 66 0a |evrect. | end if.|
|00003120| 0a 20 20 69 66 20 74 68 | 65 20 63 54 61 72 67 65 |. if th|e cTarge|
|00003130| 74 4f 62 6a 65 63 74 20 | 6f 66 20 74 68 69 73 20 |tObject |of this |
|00003140| 63 64 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |cd is no|t empty |
|00003150| 61 6e 64 20 65 78 69 73 | 74 73 28 74 68 65 20 63 |and exis|ts(the c|
|00003160| 54 61 72 67 65 74 4f 62 | 6a 65 63 74 20 6f 66 20 |TargetOb|ject of |
|00003170| 74 68 69 73 20 63 64 29 | 20 74 68 65 6e 0a 20 20 |this cd)| then. |
|00003180| 20 20 73 65 74 20 74 68 | 65 20 63 52 45 56 47 65 | set th|e cREVGe|
|00003190| 6e 65 72 61 6c 5b 74 65 | 6d 70 53 63 72 69 70 74 |neral[te|mpScript|
|000031a0| 5d 20 6f 66 20 74 68 65 | 20 63 54 61 72 67 65 74 |] of the| cTarget|
|000031b0| 4f 62 6a 65 63 74 20 6f | 66 20 74 68 69 73 20 63 |Object o|f this c|
|000031c0| 64 20 74 6f 20 65 6d 70 | 74 79 0a 20 20 65 6e 64 |d to emp|ty. end|
|000031d0| 20 69 66 0a 20 20 69 66 | 20 74 68 65 20 63 52 45 | if. if| the cRE|
|000031e0| 56 4c 69 6e 6b 65 64 20 | 6f 66 20 74 68 69 73 20 |VLinked |of this |
|000031f0| 73 74 61 63 6b 20 69 73 | 20 6e 6f 74 20 65 6d 70 |stack is| not emp|
|00003200| 74 79 20 74 68 65 6e 0a | 20 20 20 20 70 75 74 20 |ty then.| put |
|00003210| 74 68 65 20 63 52 45 56 | 4c 69 6e 6b 65 64 20 6f |the cREV|Linked o|
|00003220| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |f this s|tack int|
|00003230| 6f 20 74 4f 62 6a 65 63 | 74 73 4c 69 73 74 0a 20 |o tObjec|tsList. |
|00003240| 20 65 6c 73 65 0a 20 20 | 20 20 70 75 74 20 28 74 | else. | put (t|
|00003250| 68 65 20 73 65 6c 4f 62 | 6a 29 20 69 6e 74 6f 20 |he selOb|j) into |
|00003260| 74 4f 62 6a 65 63 74 73 | 4c 69 73 74 0a 20 20 65 |tObjects|List. e|
|00003270| 6e 64 20 69 66 0a 0a 20 | 20 72 65 70 65 61 74 20 |nd if.. | repeat |
|00003280| 66 6f 72 20 65 61 63 68 | 20 6c 69 6e 65 20 6c 20 |for each| line l |
|00003290| 69 6e 20 74 4f 62 6a 65 | 63 74 73 4c 69 73 74 0a |in tObje|ctsList.|
|000032a0| 20 20 20 20 73 65 74 20 | 74 68 65 20 63 52 45 56 | set |the cREV|
|000032b0| 47 65 6e 65 72 61 6c 5b | 74 65 6d 70 53 63 72 69 |General[|tempScri|
|000032c0| 70 74 5d 20 6f 66 20 6c | 20 74 6f 20 65 6d 70 74 |pt] of l| to empt|
|000032d0| 79 0a 20 20 65 6e 64 20 | 72 65 70 65 61 74 0a 20 |y. end |repeat. |
|000032e0| 20 73 65 74 20 74 68 65 | 20 63 4c 6f 6e 67 49 64 | set the| cLongId|
|000032f0| 73 20 6f 66 20 62 74 6e | 20 22 6f 62 6a 65 63 74 |s of btn| "object|
|00003300| 73 20 6c 69 73 74 22 20 | 74 6f 20 74 4f 62 6a 65 |s list" |to tObje|
|00003310| 63 74 73 4c 69 73 74 0a | 20 20 72 65 70 65 61 74 |ctsList.| repeat|
|00003320| 20 66 6f 72 20 65 61 63 | 68 20 6c 69 6e 65 20 6c | for eac|h line l|
|00003330| 20 69 6e 20 74 4f 62 6a | 65 63 74 73 4c 69 73 74 | in tObj|ectsList|
|00003340| 0a 20 20 20 20 70 75 74 | 20 74 68 65 20 6e 61 6d |. put| the nam|
|00003350| 65 20 6f 66 20 6c 20 26 | 20 63 72 20 61 66 74 65 |e of l &| cr afte|
|00003360| 72 20 74 53 68 6f 72 74 | 4c 69 73 74 0a 20 20 65 |r tShort|List. e|
|00003370| 6e 64 20 72 65 70 65 61 | 74 0a 0a 20 20 64 65 6c |nd repea|t.. del|
|00003380| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00003390| 20 74 53 68 6f 72 74 4c | 69 73 74 0a 20 20 73 65 | tShortL|ist. se|
|000033a0| 74 20 74 68 65 20 74 65 | 78 74 20 6f 66 20 62 74 |t the te|xt of bt|
|000033b0| 6e 20 22 6f 62 6a 65 63 | 74 73 20 6c 69 73 74 22 |n "objec|ts list"|
|000033c0| 20 74 6f 20 74 53 68 6f | 72 74 4c 69 73 74 0a 0a | to tSho|rtList..|
|000033d0| 20 20 73 65 74 20 74 68 | 65 20 63 54 61 72 67 65 | set th|e cTarge|
|000033e0| 74 4f 62 6a 65 63 74 20 | 6f 66 20 74 68 69 73 20 |tObject |of this |
|000033f0| 63 64 20 74 6f 20 6c 69 | 6e 65 20 31 20 6f 66 20 |cd to li|ne 1 of |
|00003400| 74 4f 62 6a 65 63 74 73 | 4c 69 73 74 0a 20 20 64 |tObjects|List. d|
|00003410| 69 73 61 62 6c 65 20 62 | 74 6e 20 22 61 70 70 6c |isable b|tn "appl|
|00003420| 79 22 0a 20 20 64 69 73 | 61 62 6c 65 20 62 74 6e |y". dis|able btn|
|00003430| 20 22 72 65 76 65 72 74 | 22 0a 0a 20 20 75 6e 6c | "revert|".. unl|
|00003440| 6f 63 6b 20 73 63 72 65 | 65 6e 0a 65 6e 64 20 72 |ock scre|en.end r|
|00003450| 65 76 55 70 64 61 74 65 | 50 61 6c 65 74 74 65 0a |evUpdate|Palette.|
|00003460| 0a 6f 6e 20 72 65 76 43 | 6c 6f 73 65 54 61 62 0a |.on revC|loseTab.|
|00003470| 20 20 67 6c 6f 62 61 6c | 20 67 52 45 56 43 6f 6d | global| gREVCom|
|00003480| 6d 65 6e 74 43 68 61 72 | 61 63 74 65 72 0a 20 20 |mentChar|acter. |
|00003490| 73 65 74 20 74 68 65 20 | 63 53 68 6f 77 41 73 48 |set the |cShowAsH|
|000034a0| 61 6e 64 6c 65 72 73 20 | 6f 66 20 73 74 61 63 6b |andlers |of stack|
|000034b0| 20 22 72 65 76 50 72 65 | 66 65 72 65 6e 63 65 73 | "revPre|ferences|
|000034c0| 22 20 74 6f 20 74 68 65 | 20 63 53 68 6f 77 41 73 |" to the| cShowAs|
|000034d0| 48 61 6e 64 6c 65 72 73 | 20 6f 66 20 74 68 69 73 |Handlers| of this|
|000034e0| 20 63 64 0a 20 20 73 65 | 74 20 74 68 65 20 63 43 | cd. se|t the cC|
|000034f0| 6f 6d 6d 65 6e 74 43 68 | 61 72 61 63 74 65 72 20 |ommentCh|aracter |
|00003500| 6f 66 20 73 74 61 63 6b | 20 22 72 65 76 50 72 65 |of stack| "revPre|
|00003510| 66 65 72 65 6e 63 65 73 | 22 20 74 6f 20 67 52 45 |ferences|" to gRE|
|00003520| 56 43 6f 6d 6d 65 6e 74 | 43 68 61 72 61 63 74 65 |VComment|Characte|
|00003530| 72 0a 20 20 72 65 76 43 | 68 65 63 6b 53 63 72 69 |r. revC|heckScri|
|00003540| 70 74 53 61 76 65 64 0a | 65 6e 64 20 72 65 76 43 |ptSaved.|end revC|
|00003550| 6c 6f 73 65 54 61 62 0a | 0a 6f 6e 20 63 6c 6f 73 |loseTab.|.on clos|
|00003560| 65 43 61 72 64 0a 20 20 | 67 6c 6f 62 61 6c 20 67 |eCard. |global g|
|00003570| 52 45 56 43 6f 6d 6d 65 | 6e 74 43 68 61 72 61 63 |REVComme|ntCharac|
|00003580| 74 65 72 2c 20 67 52 45 | 56 54 6f 70 45 64 69 74 |ter, gRE|VTopEdit|
|00003590| 6f 72 0a 20 20 73 65 74 | 20 74 68 65 20 63 53 68 |or. set| the cSh|
|000035a0| 6f 77 41 73 48 61 6e 64 | 6c 65 72 73 20 6f 66 20 |owAsHand|lers of |
|000035b0| 73 74 61 63 6b 20 22 72 | 65 76 50 72 65 66 65 72 |stack "r|evPrefer|
|000035c0| 65 6e 63 65 73 22 20 74 | 6f 20 74 68 65 20 63 53 |ences" t|o the cS|
|000035d0| 68 6f 77 41 73 48 61 6e | 64 6c 65 72 73 20 6f 66 |howAsHan|dlers of|
|000035e0| 20 74 68 69 73 20 63 64 | 0a 20 20 73 65 74 20 74 | this cd|. set t|
|000035f0| 68 65 20 63 43 6f 6d 6d | 65 6e 74 43 68 61 72 61 |he cComm|entChara|
|00003600| 63 74 65 72 20 6f 66 20 | 73 74 61 63 6b 20 22 72 |cter of |stack "r|
|00003610| 65 76 50 72 65 66 65 72 | 65 6e 63 65 73 22 20 74 |evPrefer|ences" t|
|00003620| 6f 20 67 52 45 56 43 6f | 6d 6d 65 6e 74 43 68 61 |o gREVCo|mmentCha|
|00003630| 72 61 63 74 65 72 0a 20 | 20 73 65 74 20 74 68 65 |racter. | set the|
|00003640| 20 63 52 45 56 53 63 72 | 69 70 74 57 69 64 74 68 | cREVScr|iptWidth|
|00003650| 20 6f 66 20 73 74 61 63 | 6b 20 22 72 65 76 50 72 | of stac|k "revPr|
|00003660| 65 66 65 72 65 6e 63 65 | 73 22 20 74 6f 20 74 68 |eference|s" to th|
|00003670| 65 20 63 52 45 56 43 61 | 72 64 57 69 64 74 68 20 |e cREVCa|rdWidth |
|00003680| 6f 66 20 74 68 69 73 20 | 63 64 0a 20 20 73 65 74 |of this |cd. set|
|00003690| 20 74 68 65 20 63 52 45 | 56 53 63 72 69 70 74 48 | the cRE|VScriptH|
|000036a0| 65 69 67 68 74 20 6f 66 | 20 73 74 61 63 6b 20 22 |eight of| stack "|
|000036b0| 72 65 76 50 72 65 66 65 | 72 65 6e 63 65 73 22 20 |revPrefe|rences" |
|000036c0| 74 6f 20 74 68 65 20 63 | 52 45 56 43 61 72 64 48 |to the c|REVCardH|
|000036d0| 65 69 67 68 74 20 6f 66 | 20 74 68 69 73 20 63 64 |eight of| this cd|
|000036e0| 0a 20 20 72 65 76 43 68 | 65 63 6b 53 63 72 69 70 |. revCh|eckScrip|
|000036f0| 74 53 61 76 65 64 0a 20 | 20 69 66 20 74 68 65 20 |tSaved. | if the |
|00003700| 70 6c 61 74 66 6f 72 6d | 20 69 73 20 22 4d 61 63 |platform| is "Mac|
|00003710| 4f 53 22 20 74 68 65 6e | 0a 20 20 20 20 73 65 74 |OS" then|. set|
|00003720| 20 74 68 65 20 64 65 66 | 61 75 6c 74 4d 65 6e 75 | the def|aultMenu|
|00003730| 42 61 72 20 74 6f 20 22 | 72 65 76 4d 65 6e 75 42 |Bar to "|revMenuB|
|00003740| 61 72 22 0a 20 20 20 20 | 69 66 20 77 6f 72 64 20 |ar". |if word |
|00003750| 31 20 74 6f 20 32 20 6f | 66 20 74 68 65 20 64 65 |1 to 2 o|f the de|
|00003760| 66 61 75 6c 74 4d 65 6e | 75 62 61 72 20 69 73 20 |faultMen|ubar is |
|00003770| 22 67 72 6f 75 70 22 20 | 26 26 20 71 75 6f 74 65 |"group" |&& quote|
|00003780| 20 26 20 22 72 65 76 4d | 65 6e 75 42 61 72 22 20 | & "revM|enuBar" |
|00003790| 26 20 71 75 6f 74 65 20 | 74 68 65 6e 0a 20 20 20 |& quote |then. |
|000037a0| 20 20 20 73 65 6e 64 20 | 22 6d 6f 75 73 65 44 6f | send |"mouseDo|
|000037b0| 77 6e 22 20 74 6f 20 67 | 72 6f 75 70 20 22 72 65 |wn" to g|roup "re|
|000037c0| 76 4d 65 6e 75 42 61 72 | 22 20 6f 66 20 73 74 61 |vMenuBar|" of sta|
|000037d0| 63 6b 20 22 72 65 76 4d | 65 6e 75 42 61 72 22 0a |ck "revM|enuBar".|
|000037e0| 20 20 20 20 65 6e 64 20 | 69 66 0a 20 20 65 6e 64 | end |if. end|
|000037f0| 20 69 66 0a 20 20 70 61 | 73 73 20 63 6c 6f 73 65 | if. pa|ss close|
|00003800| 43 61 72 64 0a 65 6e 64 | 20 63 6c 6f 73 65 43 61 |Card.end| closeCa|
|00003810| 72 64 0a 0a 6f 6e 20 63 | 6c 6f 73 65 53 74 61 63 |rd..on c|loseStac|
|00003820| 6b 52 65 71 75 65 73 74 | 0a 20 20 67 6c 6f 62 61 |kRequest|. globa|
|00003830| 6c 20 67 52 45 56 43 6f | 6d 6d 65 6e 74 43 68 61 |l gREVCo|mmentCha|
|00003840| 72 61 63 74 65 72 0a 20 | 20 73 65 74 20 74 68 65 |racter. | set the|
|00003850| 20 63 53 68 6f 77 41 73 | 48 61 6e 64 6c 65 72 73 | cShowAs|Handlers|
|00003860| 20 6f 66 20 73 74 61 63 | 6b 20 22 72 65 76 50 72 | of stac|k "revPr|
|00003870| 65 66 65 72 65 6e 63 65 | 73 22 20 74 6f 20 74 68 |eference|s" to th|
|00003880| 65 20 63 53 68 6f 77 41 | 73 48 61 6e 64 6c 65 72 |e cShowA|sHandler|
|00003890| 73 20 6f 66 20 74 68 69 | 73 20 63 64 0a 20 20 73 |s of thi|s cd. s|
|000038a0| 65 74 20 74 68 65 20 63 | 43 6f 6d 6d 65 6e 74 43 |et the c|CommentC|
|000038b0| 68 61 72 61 63 74 65 72 | 20 6f 66 20 73 74 61 63 |haracter| of stac|
|000038c0| 6b 20 22 72 65 76 50 72 | 65 66 65 72 65 6e 63 65 |k "revPr|eference|
|000038d0| 73 22 20 74 6f 20 67 52 | 45 56 43 6f 6d 6d 65 6e |s" to gR|EVCommen|
|000038e0| 74 43 68 61 72 61 63 74 | 65 72 0a 20 20 73 65 74 |tCharact|er. set|
|000038f0| 20 74 68 65 20 63 52 45 | 56 53 63 72 69 70 74 57 | the cRE|VScriptW|
|00003900| 69 64 74 68 20 6f 66 20 | 73 74 61 63 6b 20 22 72 |idth of |stack "r|
|00003910| 65 76 50 72 65 66 65 72 | 65 6e 63 65 73 22 20 74 |evPrefer|ences" t|
|00003920| 6f 20 74 68 65 20 63 52 | 45 56 43 61 72 64 57 69 |o the cR|EVCardWi|
|00003930| 64 74 68 20 6f 66 20 74 | 68 69 73 20 63 64 0a 20 |dth of t|his cd. |
|00003940| 20 73 65 74 20 74 68 65 | 20 63 52 45 56 53 63 72 | set the| cREVScr|
|00003950| 69 70 74 48 65 69 67 68 | 74 20 6f 66 20 73 74 61 |iptHeigh|t of sta|
|00003960| 63 6b 20 22 72 65 76 50 | 72 65 66 65 72 65 6e 63 |ck "revP|referenc|
|00003970| 65 73 22 20 74 6f 20 74 | 68 65 20 63 52 45 56 43 |es" to t|he cREVC|
|00003980| 61 72 64 48 65 69 67 68 | 74 20 6f 66 20 74 68 69 |ardHeigh|t of thi|
|00003990| 73 20 63 64 0a 20 20 70 | 75 74 20 74 72 75 65 20 |s cd. p|ut true |
|000039a0| 69 6e 74 6f 20 6c 43 6c | 6f 73 69 6e 67 53 74 61 |into lCl|osingSta|
|000039b0| 63 6b 0a 20 20 72 65 76 | 43 68 65 63 6b 53 63 72 |ck. rev|CheckScr|
|000039c0| 69 70 74 53 61 76 65 64 | 0a 20 20 70 75 74 20 66 |iptSaved|. put f|
|000039d0| 61 6c 73 65 20 69 6e 74 | 6f 20 6c 43 6c 6f 73 69 |alse int|o lClosi|
|000039e0| 6e 67 53 74 61 63 6b 0a | 20 20 70 61 73 73 20 63 |ngStack.| pass c|
|000039f0| 6c 6f 73 65 53 74 61 63 | 6b 52 65 71 75 65 73 74 |loseStac|kRequest|
|00003a00| 0a 65 6e 64 20 63 6c 6f | 73 65 53 74 61 63 6b 52 |.end clo|seStackR|
|00003a10| 65 71 75 65 73 74 0a 0a | 6f 6e 20 72 65 76 43 68 |equest..|on revCh|
|00003a20| 65 63 6b 53 63 72 69 70 | 74 53 61 76 65 64 0a 20 |eckScrip|tSaved. |
|00003a30| 20 67 6c 6f 62 61 6c 20 | 67 52 45 56 53 74 6f 70 | global |gREVStop|
|00003a40| 55 70 64 61 74 65 73 2c | 20 67 52 45 56 53 77 69 |Updates,| gREVSwi|
|00003a50| 74 63 68 69 6e 67 54 61 | 62 73 0a 20 20 69 66 20 |tchingTa|bs. if |
|00003a60| 74 68 65 20 63 53 63 72 | 69 70 74 53 61 76 65 64 |the cScr|iptSaved|
|00003a70| 20 6f 66 20 74 68 69 73 | 20 63 64 20 69 73 20 66 | of this| cd is f|
|00003a80| 61 6c 73 65 20 74 68 65 | 6e 0a 20 20 20 20 2d 2d |alse the|n. --|
|00003a90| 4c 6f 63 6b 69 6e 67 20 | 6d 65 73 73 61 67 65 73 |Locking |messages|
|00003aa0| 20 63 61 6e 20 63 61 75 | 73 65 73 20 62 75 67 20 | can cau|ses bug |
|00003ab0| 69 66 20 79 6f 75 27 72 | 65 20 6d 6f 76 69 6e 67 |if you'r|e moving|
|00003ac0| 20 74 61 62 73 20 77 69 | 74 68 6f 75 74 20 61 70 | tabs wi|thout ap|
|00003ad0| 70 6c 79 69 6e 67 20 74 | 68 65 20 73 63 72 69 70 |plying t|he scrip|
|00003ae0| 74 2e 0a 20 20 20 20 2d | 2d 4e 6f 74 20 6c 6f 63 |t.. -|-Not loc|
|00003af0| 6b 69 6e 67 20 6d 65 73 | 73 61 67 65 73 20 63 61 |king mes|sages ca|
|00003b00| 75 73 65 73 20 74 68 65 | 20 73 63 72 69 70 74 20 |uses the| script |
|00003b10| 65 64 69 74 6f 72 20 74 | 6f 20 67 65 74 20 63 6c |editor t|o get cl|
|00003b20| 6f 73 65 43 61 72 64 0a | 20 20 20 20 2d 2d 61 73 |oseCard.| --as|
|00003b30| 20 77 65 6c 6c 20 61 73 | 20 63 6c 6f 73 65 53 74 | well as| closeSt|
|00003b40| 61 63 6b 52 65 71 75 65 | 73 74 20 77 68 65 6e 20 |ackReque|st when |
|00003b50| 79 6f 75 27 72 65 20 63 | 6c 6f 73 69 6e 67 20 74 |you're c|losing t|
|00003b60| 68 65 20 73 63 72 69 70 | 74 20 65 64 69 74 6f 72 |he scrip|t editor|
|00003b70| 2e 0a 20 20 20 20 2d 2d | 54 68 65 72 65 66 6f 72 |.. --|Therefor|
|00003b80| 65 20 6c 6f 63 6b 20 6d | 65 73 73 61 67 65 73 20 |e lock m|essages |
|00003b90| 77 68 65 6e 20 6e 6f 74 | 20 6d 6f 76 69 6e 67 20 |when not| moving |
|00003ba0| 62 65 74 77 65 65 6e 20 | 74 61 62 73 20 28 77 68 |between |tabs (wh|
|00003bb0| 65 6e 20 67 52 45 56 53 | 77 69 74 63 68 69 6e 67 |en gREVS|witching|
|00003bc0| 54 61 62 73 20 69 73 20 | 6e 6f 74 20 74 72 75 65 |Tabs is |not true|
|00003bd0| 29 0a 20 20 20 20 69 66 | 20 6e 6f 74 20 67 52 45 |). if| not gRE|
|00003be0| 56 53 77 69 74 63 68 69 | 6e 67 54 61 62 73 20 74 |VSwitchi|ngTabs t|
|00003bf0| 68 65 6e 20 6c 6f 63 6b | 20 6d 65 73 73 61 67 65 |hen lock| message|
|00003c00| 73 0a 20 20 20 20 73 65 | 74 20 74 68 65 20 63 53 |s. se|t the cS|
|00003c10| 63 72 69 70 74 53 61 76 | 65 64 20 6f 66 20 74 68 |criptSav|ed of th|
|00003c20| 69 73 20 63 64 20 74 6f | 20 74 72 75 65 0a 20 20 |is cd to| true. |
|00003c30| 20 20 77 61 69 74 20 31 | 20 6d 69 6c 6c 69 73 65 | wait 1| millise|
|00003c40| 63 6f 6e 64 0a 20 20 20 | 20 70 75 74 20 74 68 65 |cond. | put the|
|00003c50| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 63 54 61 | name of| the cTa|
|00003c60| 72 67 65 74 4f 62 6a 65 | 63 74 20 6f 66 20 74 68 |rgetObje|ct of th|
|00003c70| 69 73 20 63 64 20 69 6e | 74 6f 20 74 4e 61 6d 65 |is cd in|to tName|
|00003c80| 0a 20 20 20 20 2d 2d 61 | 6e 73 77 65 72 20 77 61 |. --a|nswer wa|
|00003c90| 72 6e 69 6e 67 20 22 41 | 70 70 6c 79 20 63 68 61 |rning "A|pply cha|
|00003ca0| 6e 67 65 73 20 74 6f 20 | 74 68 65 20 73 63 72 69 |nges to |the scri|
|00003cb0| 70 74 20 6f 66 22 20 26 | 26 20 74 4e 61 6d 65 20 |pt of" &|& tName |
|00003cc0| 26 20 22 3f 22 20 77 69 | 74 68 20 22 4e 6f 22 20 |& "?" wi|th "No" |
|00003cd0| 6f 72 20 22 59 65 73 22 | 0a 20 20 20 20 70 75 74 |or "Yes"|. put|
|00003ce0| 20 22 59 65 73 22 20 69 | 6e 74 6f 20 69 74 20 2d | "Yes" i|nto it -|
|00003cf0| 2d 62 75 67 20 66 69 78 | 2c 20 6e 6f 20 64 69 61 |-bug fix|, no dia|
|00003d00| 6c 6f 67 0a 20 20 20 20 | 69 66 20 6e 6f 74 20 65 |log. |if not e|
|00003d10| 78 69 73 74 73 28 74 68 | 65 20 63 54 61 72 67 65 |xists(th|e cTarge|
|00003d20| 74 4f 62 6a 65 63 74 20 | 6f 66 20 74 68 69 73 20 |tObject |of this |
|00003d30| 63 64 29 20 74 68 65 6e | 0a 20 20 20 20 20 20 73 |cd) then|. s|
|00003d40| 65 6c 65 63 74 65 64 4f | 62 6a 65 63 74 43 68 61 |electedO|bjectCha|
|00003d50| 6e 67 65 64 0a 20 20 20 | 20 20 20 65 78 69 74 20 |nged. | exit |
|00003d60| 72 65 76 43 68 65 63 6b | 53 63 72 69 70 74 53 61 |revCheck|ScriptSa|
|00003d70| 76 65 64 0a 20 20 20 20 | 65 6e 64 20 69 66 0a 20 |ved. |end if. |
|00003d80| 20 20 20 69 66 20 69 74 | 20 69 73 20 22 59 65 73 | if it| is "Yes|
|00003d90| 22 20 74 68 65 6e 0a 20 | 20 20 20 20 20 72 65 76 |" then. | rev|
|00003da0| 55 70 64 61 74 65 53 69 | 6e 67 6c 65 48 61 6e 64 |UpdateSi|ngleHand|
|00003db0| 6c 65 72 0a 20 20 20 20 | 20 20 72 65 76 43 6f 6d |ler. | revCom|
|00003dc0| 70 69 6c 65 53 63 72 69 | 70 74 0a 20 20 20 20 20 |pileScri|pt. |
|00003dd0| 20 64 69 73 61 62 6c 65 | 20 62 74 6e 20 22 61 70 | disable| btn "ap|
|00003de0| 70 6c 79 22 0a 20 20 20 | 20 20 20 64 69 73 61 62 |ply". | disab|
|00003df0| 6c 65 20 62 74 6e 20 22 | 72 65 76 65 72 74 22 0a |le btn "|revert".|
|00003e00| 20 20 20 20 20 20 73 65 | 74 20 74 68 65 20 63 52 | se|t the cR|
|00003e10| 45 56 47 65 6e 65 72 61 | 6c 5b 22 74 65 6d 70 53 |EVGenera|l["tempS|
|00003e20| 63 72 69 70 74 22 5d 20 | 6f 66 20 74 68 65 20 63 |cript"] |of the c|
|00003e30| 54 61 72 67 65 74 4f 62 | 6a 65 63 74 20 6f 66 20 |TargetOb|ject of |
|00003e40| 74 68 69 73 20 63 64 20 | 74 6f 20 65 6d 70 74 79 |this cd |to empty|
|00003e50| 0a 20 20 20 20 20 20 73 | 65 6c 65 63 74 65 64 4f |. s|electedO|
|00003e60| 62 6a 65 63 74 43 68 61 | 6e 67 65 64 0a 20 20 20 |bjectCha|nged. |
|00003e70| 20 65 6e 64 20 69 66 0a | 20 20 65 6e 64 20 69 66 | end if.| end if|
|00003e80| 0a 20 20 69 66 20 65 78 | 69 73 74 73 28 74 68 65 |. if ex|ists(the|
|00003e90| 20 63 54 61 72 67 65 74 | 4f 62 6a 65 63 74 20 6f | cTarget|Object o|
|00003ea0| 66 20 74 68 69 73 20 63 | 64 29 20 74 68 65 6e 20 |f this c|d) then |
|00003eb0| 73 65 74 20 74 68 65 20 | 63 52 45 56 47 65 6e 65 |set the |cREVGene|
|00003ec0| 72 61 6c 5b 22 74 65 6d | 70 53 63 72 69 70 74 22 |ral["tem|pScript"|
|00003ed0| 5d 20 6f 66 20 74 68 65 | 20 63 54 61 72 67 65 74 |] of the| cTarget|
|00003ee0| 4f 62 6a 65 63 74 20 6f | 66 20 74 68 69 73 20 63 |Object o|f this c|
|00003ef0| 64 20 74 6f 20 65 6d 70 | 74 79 0a 20 20 2d 2d 73 |d to emp|ty. --s|
|00003f00| 74 61 63 6b 20 73 63 72 | 69 70 74 20 6e 65 65 64 |tack scr|ipt need|
|00003f10| 73 20 74 6f 20 67 65 74 | 20 63 6c 6f 73 65 53 74 |s to get| closeSt|
|00003f20| 61 63 6b 20 74 6f 20 75 | 70 64 61 74 65 20 67 52 |ack to u|pdate gR|
|00003f30| 45 56 4c 69 6e 6b 65 64 | 4f 62 6a 65 63 74 73 0a |EVLinked|Objects.|
|00003f40| 20 20 2d 2d 62 75 74 20 | 6d 65 73 73 61 67 65 73 | --but |messages|
|00003f50| 20 6d 75 73 74 20 62 65 | 20 6c 6f 63 6b 65 64 20 | must be| locked |
|00003f60| 74 6f 20 70 72 65 76 65 | 6e 74 20 32 20 61 6e 73 |to preve|nt 2 ans|
|00003f70| 77 65 72 20 64 69 61 6c | 6f 67 73 0a 20 20 2d 2d |wer dial|ogs. --|
|00003f80| 6c 43 6c 6f 73 69 6e 67 | 53 74 61 63 6b 20 73 65 |lClosing|Stack se|
|00003f90| 74 20 69 6e 20 63 6c 6f | 73 65 53 74 61 63 6b 52 |t in clo|seStackR|
|00003fa0| 65 71 75 65 73 74 20 68 | 61 6e 64 6c 65 72 0a 20 |equest h|andler. |
|00003fb0| 20 69 66 20 6c 43 6c 6f | 73 69 6e 67 53 74 61 63 | if lClo|singStac|
|00003fc0| 6b 20 74 68 65 6e 20 72 | 65 76 43 6c 6f 73 65 53 |k then r|evCloseS|
|00003fd0| 74 61 63 6b 0a 65 6e 64 | 20 72 65 76 43 68 65 63 |tack.end| revChec|
|00003fe0| 6b 53 63 72 69 70 74 53 | 61 76 65 64 0a 0a 6f 6e |kScriptS|aved..on|
|00003ff0| 20 72 65 76 55 70 64 61 | 74 65 53 69 6e 67 6c 65 | revUpda|teSingle|
|00004000| 48 61 6e 64 6c 65 72 0a | 20 20 73 65 74 20 74 68 |Handler.| set th|
|00004010| 65 20 63 53 63 72 69 70 | 74 53 61 76 65 64 20 6f |e cScrip|tSaved o|
|00004020| 66 20 74 68 69 73 20 63 | 64 20 74 6f 20 66 61 6c |f this c|d to fal|
|00004030| 73 65 0a 20 20 69 66 20 | 6e 6f 74 20 74 68 65 20 |se. if |not the |
|00004040| 63 53 68 6f 77 41 73 48 | 61 6e 64 6c 65 72 73 20 |cShowAsH|andlers |
|00004050| 6f 66 20 74 68 69 73 20 | 63 64 20 74 68 65 6e 0a |of this |cd then.|
|00004060| 20 20 20 20 73 65 74 20 | 74 68 65 20 63 52 45 56 | set |the cREV|
|00004070| 47 65 6e 65 72 61 6c 5b | 74 65 6d 70 53 63 72 69 |General[|tempScri|
|00004080| 70 74 5d 20 6f 66 20 74 | 68 65 20 63 54 61 72 67 |pt] of t|he cTarg|
|00004090| 65 74 4f 62 6a 65 63 74 | 20 6f 66 20 74 68 69 73 |etObject| of this|
|000040a0| 20 63 64 20 74 6f 20 74 | 68 65 20 68 74 6d 6c 54 | cd to t|he htmlT|
|000040b0| 65 78 74 20 6f 66 20 66 | 6c 64 20 22 73 63 72 69 |ext of f|ld "scri|
|000040c0| 70 74 22 0a 20 20 65 6c | 73 65 0a 20 20 20 20 69 |pt". el|se. i|
|000040d0| 66 20 74 68 65 20 63 48 | 65 61 64 65 72 20 6f 66 |f the cH|eader of|
|000040e0| 20 66 6c 64 20 22 64 65 | 63 6c 61 72 61 74 69 6f | fld "de|claratio|
|000040f0| 6e 73 22 20 69 73 20 65 | 6d 70 74 79 20 61 6e 64 |ns" is e|mpty and|
|00004100| 20 74 68 65 20 63 4c 6f | 63 61 6c 73 20 6f 66 20 | the cLo|cals of |
|00004110| 66 6c 64 20 22 64 65 63 | 6c 61 72 61 74 69 6f 6e |fld "dec|laration|
|00004120| 73 22 20 69 73 20 65 6d | 70 74 79 20 61 6e 64 20 |s" is em|pty and |
|00004130| 74 68 65 20 63 47 6c 6f | 62 61 6c 73 20 6f 66 20 |the cGlo|bals of |
|00004140| 66 6c 64 20 22 64 65 63 | 6c 61 72 61 74 69 6f 6e |fld "dec|laration|
|00004150| 73 22 20 69 73 20 65 6d | 70 74 79 20 61 6e 64 20 |s" is em|pty and |
|00004160| 66 6c 64 20 22 73 63 72 | 69 70 74 22 20 69 73 20 |fld "scr|ipt" is |
|00004170| 65 6d 70 74 79 20 74 68 | 65 6e 0a 20 20 20 20 20 |empty th|en. |
|00004180| 20 73 65 74 20 74 68 65 | 20 63 52 45 56 47 65 6e | set the| cREVGen|
|00004190| 65 72 61 6c 5b 22 74 65 | 6d 70 53 63 72 69 70 74 |eral["te|mpScript|
|000041a0| 22 5d 20 6f 66 20 74 68 | 65 20 63 54 61 72 67 65 |"] of th|e cTarge|
|000041b0| 74 4f 62 6a 65 63 74 20 | 6f 66 20 74 68 69 73 20 |tObject |of this |
|000041c0| 63 64 20 74 6f 20 65 6d | 70 74 79 0a 20 20 20 20 |cd to em|pty. |
|000041d0| 65 6c 73 65 0a 20 20 20 | 20 20 20 70 75 74 20 74 |else. | put t|
|000041e0| 68 65 20 63 48 65 61 64 | 65 72 20 6f 66 20 66 6c |he cHead|er of fl|
|000041f0| 64 20 22 73 63 72 69 70 | 74 22 20 26 20 63 72 20 |d "scrip|t" & cr |
|00004200| 69 6e 74 6f 20 74 56 61 | 72 69 61 62 6c 65 73 0a |into tVa|riables.|
|00004210| 20 20 20 20 20 20 69 66 | 20 74 68 65 20 63 4c 6f | if| the cLo|
|00004220| 63 61 6c 73 20 6f 66 20 | 66 6c 64 20 22 64 65 63 |cals of |fld "dec|
|00004230| 6c 61 72 61 74 69 6f 6e | 73 22 20 69 73 20 6e 6f |laration|s" is no|
|00004240| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |t empty |then put|
|00004250| 20 22 3c 50 3e 20 20 6c | 6f 63 61 6c 22 20 26 26 | "<P> l|ocal" &&|
|00004260| 20 74 68 65 20 63 4c 6f | 63 61 6c 73 20 6f 66 20 | the cLo|cals of |
|00004270| 66 6c 64 20 22 64 65 63 | 6c 61 72 61 74 69 6f 6e |fld "dec|laration|
|00004280| 73 22 20 26 20 63 72 20 | 61 66 74 65 72 20 74 56 |s" & cr |after tV|
|00004290| 61 72 69 61 62 6c 65 73 | 0a 20 20 20 20 20 20 69 |ariables|. i|
|000042a0| 66 20 74 68 65 20 63 47 | 6c 6f 62 61 6c 73 20 6f |f the cG|lobals o|
|000042b0| 66 20 66 6c 64 20 22 64 | 65 63 6c 61 72 61 74 69 |f fld "d|eclarati|
|000042c0| 6f 6e 73 22 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |ons" is |not empt|
|000042d0| 79 20 74 68 65 6e 20 70 | 75 74 20 22 3c 50 3e 20 |y then p|ut "<P> |
|000042e0| 20 67 6c 6f 62 61 6c 22 | 20 26 26 20 74 68 65 20 | global"| && the |
|000042f0| 63 47 6c 6f 62 61 6c 73 | 20 6f 66 20 66 6c 64 20 |cGlobals| of fld |
|00004300| 22 64 65 63 6c 61 72 61 | 74 69 6f 6e 73 22 20 26 |"declara|tions" &|
|00004310| 20 63 72 20 61 66 74 65 | 72 20 74 56 61 72 69 61 | cr afte|r tVaria|
|00004320| 62 6c 65 73 0a 20 20 20 | 20 20 20 69 66 20 74 68 |bles. | if th|
|00004330| 65 20 63 50 61 72 61 6d | 65 74 65 72 73 20 6f 66 |e cParam|eters of|
|00004340| 20 66 6c 64 20 22 64 65 | 63 6c 61 72 61 74 69 6f | fld "de|claratio|
|00004350| 6e 73 22 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ns" is n|ot empty|
|00004360| 20 74 68 65 6e 20 70 75 | 74 20 74 68 65 20 63 50 | then pu|t the cP|
|00004370| 61 72 61 6d 65 74 65 72 | 73 20 6f 66 20 66 6c 64 |arameter|s of fld|
|00004380| 20 22 64 65 63 6c 61 72 | 61 74 69 6f 6e 73 22 20 | "declar|ations" |
|00004390| 69 6e 74 6f 20 77 6f 72 | 64 20 33 20 74 6f 20 2d |into wor|d 3 to -|
|000043a0| 31 20 6f 66 20 6c 69 6e | 65 20 31 20 6f 66 20 74 |1 of lin|e 1 of t|
|000043b0| 56 61 72 69 61 62 6c 65 | 73 0a 20 20 20 20 20 20 |Variable|s. |
|000043c0| 70 75 74 20 74 68 65 20 | 63 46 6f 6f 74 65 72 20 |put the |cFooter |
|000043d0| 6f 66 20 66 6c 64 20 22 | 73 63 72 69 70 74 22 20 |of fld "|script" |
|000043e0| 69 6e 74 6f 20 74 45 6e | 64 0a 20 20 20 20 20 20 |into tEn|d. |
|000043f0| 69 66 20 63 68 61 72 54 | 6f 4e 75 6d 28 6c 61 73 |if charT|oNum(las|
|00004400| 74 20 63 68 61 72 20 6f | 66 20 74 56 61 72 69 61 |t char o|f tVaria|
|00004410| 62 6c 65 73 29 20 69 73 | 20 31 30 20 74 68 65 6e |bles) is| 10 then|
|00004420| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|00004430| 72 20 6f 66 20 74 56 61 | 72 69 61 62 6c 65 73 0a |r of tVa|riables.|
|00004440| 20 20 20 20 20 20 70 75 | 74 20 74 68 65 20 68 74 | pu|t the ht|
|00004450| 6d 6c 54 65 78 74 20 6f | 66 20 66 6c 64 20 22 73 |mlText o|f fld "s|
|00004460| 63 72 69 70 74 22 20 69 | 6e 74 6f 20 74 52 65 74 |cript" i|nto tRet|
|00004470| 75 72 6e 20 2d 2d 66 6f | 72 6d 61 74 20 74 68 65 |urn --fo|rmat the|
|00004480| 20 68 61 6e 64 6c 65 72 | 0a 20 20 20 20 20 20 6c | handler|. l|
|00004490| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0a 20 20 20 |ock mess|ages. |
|000044a0| 20 20 20 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0a 20 | lock |screen. |
|000044b0| 20 20 20 20 20 70 75 74 | 20 22 6f 6e 20 78 78 22 | put| "on xx"|
|000044c0| 20 26 20 63 72 20 62 65 | 66 6f 72 65 20 66 6c 64 | & cr be|fore fld|
|000044d0| 20 22 73 63 72 69 70 74 | 22 0a 20 20 20 20 20 20 | "script|". |
|000044e0| 73 65 74 20 74 68 65 20 | 63 53 68 6f 77 41 73 48 |set the |cShowAsH|
|000044f0| 61 6e 64 6c 65 72 73 20 | 6f 66 20 74 68 69 73 20 |andlers |of this |
|00004500| 63 64 20 74 6f 20 66 61 | 6c 73 65 0a 20 20 20 20 |cd to fa|lse. |
|00004510| 20 20 70 75 74 20 63 72 | 20 26 20 22 65 6e 64 20 | put cr| & "end |
|00004520| 78 78 22 20 61 66 74 65 | 72 20 66 6c 64 20 22 73 |xx" afte|r fld "s|
|00004530| 63 72 69 70 74 22 0a 20 | 20 20 20 20 20 72 65 76 |cript". | rev|
|00004540| 46 6f 72 6d 61 74 46 69 | 65 6c 64 0a 20 20 20 20 |FormatFi|eld. |
|00004550| 20 20 73 65 74 20 74 68 | 65 20 63 53 68 6f 77 41 | set th|e cShowA|
|00004560| 73 48 61 6e 64 6c 65 72 | 73 20 6f 66 20 74 68 69 |sHandler|s of thi|
|00004570| 73 20 63 64 20 74 6f 20 | 74 72 75 65 0a 20 20 20 |s cd to |true. |
|00004580| 20 20 20 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 31 | delet|e line 1|
|00004590| 20 6f 66 20 66 6c 64 20 | 22 73 63 72 69 70 74 22 | of fld |"script"|
|000045a0| 0a 20 20 20 20 20 20 64 | 65 6c 65 74 65 20 6c 61 |. d|elete la|
|000045b0| 73 74 20 6c 69 6e 65 20 | 6f 66 20 66 6c 64 20 22 |st line |of fld "|
|000045c0| 73 63 72 69 70 74 22 0a | 20 20 20 20 20 20 75 6e |script".| un|
|000045d0| 6c 6f 63 6b 20 6d 65 73 | 73 61 67 65 73 0a 20 20 |lock mes|sages. |
|000045e0| 20 20 20 20 70 75 74 20 | 22 3c 50 3e 22 20 26 20 | put |"<P>" & |
|000045f0| 74 56 61 72 69 61 62 6c | 65 73 20 26 20 63 72 20 |tVariabl|es & cr |
|00004600| 26 20 22 3c 50 3e 22 20 | 26 26 20 74 68 65 20 68 |& "<P>" |&& the h|
|00004610| 74 6d 6c 54 65 78 74 20 | 6f 66 20 66 6c 64 20 22 |tmlText |of fld "|
|00004620| 73 63 72 69 70 74 22 20 | 69 6e 74 6f 20 74 46 69 |script" |into tFi|
|00004630| 6e 61 6c 0a 20 20 20 20 | 20 20 73 65 74 20 74 68 |nal. | set th|
|00004640| 65 20 68 74 6d 6c 54 65 | 78 74 20 6f 66 20 66 6c |e htmlTe|xt of fl|
|00004650| 64 20 22 73 63 72 69 70 | 74 22 20 74 6f 20 74 52 |d "scrip|t" to tR|
|00004660| 65 74 75 72 6e 0a 20 20 | 20 20 20 20 75 6e 6c 6f |eturn. | unlo|
|00004670| 63 6b 20 73 63 72 65 65 | 6e 0a 20 20 20 20 20 20 |ck scree|n. |
|00004680| 69 66 20 63 68 61 72 20 | 2d 33 20 74 6f 20 2d 31 |if char |-3 to -1|
|00004690| 20 6f 66 20 6c 69 6e 65 | 20 2d 31 20 6f 66 20 74 | of line| -1 of t|
|000046a0| 46 69 6e 61 6c 20 69 73 | 20 22 3c 50 3e 22 20 74 |Final is| "<P>" t|
|000046b0| 68 65 6e 20 70 75 74 20 | 22 20 22 20 26 20 74 45 |hen put |" " & tE|
|000046c0| 6e 64 20 61 66 74 65 72 | 20 74 46 69 6e 61 6c 0a |nd after| tFinal.|
|000046d0| 20 20 20 20 20 20 65 6c | 73 65 20 70 75 74 20 63 | el|se put c|
|000046e0| 72 20 26 20 22 3c 50 3e | 22 20 26 26 20 74 45 6e |r & "<P>|" && tEn|
|000046f0| 64 20 61 66 74 65 72 20 | 74 46 69 6e 61 6c 0a 20 |d after |tFinal. |
|00004700| 20 20 20 20 20 69 66 20 | 74 68 65 20 63 52 45 56 | if |the cREV|
|00004710| 47 65 6e 65 72 61 6c 5b | 74 65 6d 70 53 63 72 69 |General[|tempScri|
|00004720| 70 74 5d 20 6f 66 20 74 | 68 65 20 63 54 61 72 67 |pt] of t|he cTarg|
|00004730| 65 74 4f 62 6a 65 63 74 | 20 6f 66 20 74 68 69 73 |etObject| of this|
|00004740| 20 63 64 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 | cd is e|mpty the|
|00004750| 6e 20 73 65 74 20 74 68 | 65 20 63 52 45 56 47 65 |n set th|e cREVGe|
|00004760| 6e 65 72 61 6c 5b 74 65 | 6d 70 53 63 72 69 70 74 |neral[te|mpScript|
|00004770| 5d 20 6f 66 20 74 68 65 | 20 63 54 61 72 67 65 74 |] of the| cTarget|
|00004780| 4f 62 6a 65 63 74 20 6f | 66 20 74 68 69 73 20 63 |Object o|f this c|
|00004790| 64 20 74 6f 20 74 68 65 | 20 63 52 45 56 47 65 6e |d to the| cREVGen|
|000047a0| 65 72 61 6c 5b 22 73 63 | 72 69 70 74 22 5d 20 6f |eral["sc|ript"] o|
|000047b0| 66 20 74 68 65 20 63 54 | 61 72 67 65 74 4f 62 6a |f the cT|argetObj|
|000047c0| 65 63 74 20 6f 66 20 74 | 68 69 73 20 63 64 0a 20 |ect of t|his cd. |
|000047d0| 20 20 20 20 20 73 65 74 | 20 74 68 65 20 68 74 6d | set| the htm|
|000047e0| 6c 54 65 78 74 20 6f 66 | 20 66 6c 64 20 22 68 69 |lText of| fld "hi|
|000047f0| 64 64 65 6e 20 74 65 78 | 74 20 63 6f 6e 76 65 72 |dden tex|t conver|
|00004800| 73 69 6f 6e 22 20 74 6f | 20 74 68 65 20 63 52 45 |sion" to| the cRE|
|00004810| 56 47 65 6e 65 72 61 6c | 5b 74 65 6d 70 53 63 72 |VGeneral|[tempScr|
|00004820| 69 70 74 5d 20 6f 66 20 | 74 68 65 20 63 54 61 72 |ipt] of |the cTar|
|00004830| 67 65 74 4f 62 6a 65 63 | 74 20 6f 66 20 74 68 69 |getObjec|t of thi|
|00004840| 73 20 63 64 0a 20 20 20 | 20 20 20 70 75 74 20 66 |s cd. | put f|
|00004850| 6c 64 20 22 68 69 64 64 | 65 6e 20 74 65 78 74 20 |ld "hidd|en text |
|00004860| 63 6f 6e 76 65 72 73 69 | 6f 6e 22 20 69 6e 74 6f |conversi|on" into|
|00004870| 20 74 4f 6c 64 53 63 72 | 69 70 74 0a 20 20 20 20 | tOldScr|ipt. |
|00004880| 20 20 70 75 74 20 74 68 | 65 20 63 50 72 65 76 69 | put th|e cPrevi|
|00004890| 6f 75 73 48 61 6e 64 6c | 65 72 20 6f 66 20 74 68 |ousHandl|er of th|
|000048a0| 69 73 20 63 64 20 69 6e | 74 6f 20 74 53 65 61 72 |is cd in|to tSear|
|000048b0| 63 68 53 74 72 69 6e 67 | 0a 20 20 20 20 20 20 72 |chString|. r|
|000048c0| 65 70 65 61 74 20 66 6f | 72 20 65 61 63 68 20 69 |epeat fo|r each i|
|000048d0| 74 65 6d 20 69 20 69 6e | 20 22 6f 6e 2c 66 75 6e |tem i in| "on,fun|
|000048e0| 63 74 69 6f 6e 2c 73 65 | 74 70 72 6f 70 2c 67 65 |ction,se|tprop,ge|
|000048f0| 74 70 72 6f 70 22 0a 20 | 20 20 20 20 20 20 20 70 |tprop". | p|
|00004900| 75 74 20 6c 69 6e 65 4f | 66 66 73 65 74 28 28 69 |ut lineO|ffset((i|
|00004910| 20 26 26 20 74 53 65 61 | 72 63 68 53 74 72 69 6e | && tSea|rchStrin|
|00004920| 67 29 2c 74 4f 6c 64 53 | 63 72 69 70 74 29 20 69 |g),tOldS|cript) i|
|00004930| 6e 74 6f 20 74 53 74 61 | 72 74 4c 69 6e 65 0a 20 |nto tSta|rtLine. |
|00004940| 20 20 20 20 20 20 20 69 | 66 20 74 53 74 61 72 74 | i|f tStart|
|00004950| 4c 69 6e 65 20 69 73 20 | 6e 6f 74 20 30 20 74 68 |Line is |not 0 th|
|00004960| 65 6e 0a 20 20 20 20 20 | 20 20 20 20 20 70 75 74 |en. | put|
|00004970| 20 69 20 26 26 20 74 53 | 65 61 72 63 68 53 74 72 | i && tS|earchStr|
|00004980| 69 6e 67 20 69 6e 74 6f | 20 74 4d 61 74 63 68 53 |ing into| tMatchS|
|00004990| 74 72 69 6e 67 0a 20 20 | 20 20 20 20 20 20 20 20 |tring. | |
|000049a0| 65 78 69 74 20 72 65 70 | 65 61 74 0a 20 20 20 20 |exit rep|eat. |
|000049b0| 20 20 20 20 65 6e 64 20 | 69 66 0a 20 20 20 20 20 | end |if. |
|000049c0| 20 65 6e 64 20 72 65 70 | 65 61 74 0a 20 20 20 20 | end rep|eat. |
|000049d0| 20 20 70 75 74 20 6c 69 | 6e 65 4f 66 66 73 65 74 | put li|neOffset|
|000049e0| 28 22 65 6e 64 22 20 26 | 26 20 74 53 65 61 72 63 |("end" &|& tSearc|
|000049f0| 68 53 74 72 69 6e 67 2c | 74 4f 6c 64 53 63 72 69 |hString,|tOldScri|
|00004a00| 70 74 2c 74 53 74 61 72 | 74 4c 69 6e 65 29 2b 74 |pt,tStar|tLine)+t|
|00004a10| 53 74 61 72 74 4c 69 6e | 65 20 69 6e 74 6f 20 74 |StartLin|e into t|
|00004a20| 45 6e 64 4c 69 6e 65 0a | 20 20 20 20 20 20 70 75 |EndLine.| pu|
|00004a30| 74 20 74 68 65 20 68 74 | 6d 6c 54 65 78 74 20 6f |t the ht|mlText o|
|00004a40| 66 20 66 6c 64 20 22 68 | 69 64 64 65 6e 20 74 65 |f fld "h|idden te|
|00004a50| 78 74 20 63 6f 6e 76 65 | 72 73 69 6f 6e 22 20 69 |xt conve|rsion" i|
|00004a60| 6e 74 6f 20 74 4f 6c 64 | 53 63 72 69 70 74 0a 20 |nto tOld|Script. |
|00004a70| 20 20 20 20 20 69 66 20 | 63 68 61 72 20 31 20 74 | if |char 1 t|
|00004a80| 6f 20 33 20 6f 66 20 6c | 69 6e 65 20 2d 32 20 6f |o 3 of l|ine -2 o|
|00004a90| 66 20 74 46 69 6e 61 6c | 20 69 73 20 22 3c 50 3e |f tFinal| is "<P>|
|00004aa0| 22 20 61 6e 64 20 74 68 | 65 20 6e 75 6d 62 65 72 |" and th|e number|
|00004ab0| 20 6f 66 20 77 6f 72 64 | 73 20 69 6e 20 6c 69 6e | of word|s in lin|
|00004ac0| 65 20 2d 32 20 6f 66 20 | 74 46 69 6e 61 6c 20 69 |e -2 of |tFinal i|
|00004ad0| 73 20 31 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |s 1 then| delete |
|00004ae0| 6c 69 6e 65 20 2d 32 20 | 6f 66 20 74 46 69 6e 61 |line -2 |of tFina|
|00004af0| 6c 0a 20 20 20 20 20 20 | 70 75 74 20 74 46 69 6e |l. |put tFin|
|00004b00| 61 6c 20 69 6e 74 6f 20 | 6c 69 6e 65 20 74 53 74 |al into |line tSt|
|00004b10| 61 72 74 4c 69 6e 65 20 | 74 6f 20 74 45 6e 64 4c |artLine |to tEndL|
|00004b20| 69 6e 65 20 6f 66 20 74 | 4f 6c 64 53 63 72 69 70 |ine of t|OldScrip|
|00004b30| 74 0a 20 20 20 20 20 20 | 69 66 20 63 68 61 72 20 |t. |if char |
|00004b40| 31 20 74 6f 20 33 20 6f | 66 20 74 4f 6c 64 53 63 |1 to 3 o|f tOldSc|
|00004b50| 72 69 70 74 20 69 73 20 | 22 3c 50 3e 22 20 74 68 |ript is |"<P>" th|
|00004b60| 65 6e 20 64 65 6c 65 74 | 65 20 63 68 61 72 20 31 |en delet|e char 1|
|00004b70| 20 74 6f 20 33 20 6f 66 | 20 74 4f 6c 64 53 63 72 | to 3 of| tOldScr|
|00004b80| 69 70 74 0a 20 20 20 20 | 20 20 73 65 74 20 74 68 |ipt. | set th|
|00004b90| 65 20 63 52 45 56 47 65 | 6e 65 72 61 6c 5b 74 65 |e cREVGe|neral[te|
|00004ba0| 6d 70 53 63 72 69 70 74 | 5d 20 6f 66 20 74 68 65 |mpScript|] of the|
|00004bb0| 20 63 54 61 72 67 65 74 | 4f 62 6a 65 63 74 20 6f | cTarget|Object o|
|00004bc0| 66 20 74 68 69 73 20 63 | 64 20 74 6f 20 74 4f 6c |f this c|d to tOl|
|00004bd0| 64 53 63 72 69 70 74 0a | 20 20 20 20 65 6e 64 20 |dScript.| end |
|00004be0| 69 66 0a 20 20 65 6e 64 | 20 69 66 0a 65 6e 64 20 |if. end| if.end |
|00004bf0| 72 65 76 55 70 64 61 74 | 65 53 69 6e 67 6c 65 48 |revUpdat|eSingleH|
|00004c00| 61 6e 64 6c 65 72 0a 0a | 6f 6e 20 72 65 76 43 6f |andler..|on revCo|
|00004c10| 6d 70 69 6c 65 53 63 72 | 69 70 74 0a 20 20 67 6c |mpileScr|ipt. gl|
|00004c20| 6f 62 61 6c 20 67 52 45 | 56 53 75 70 70 72 65 73 |obal gRE|VSuppres|
|00004c30| 73 45 72 72 6f 72 73 0a | 20 20 70 75 74 20 74 68 |sErrors.| put th|
|00004c40| 65 20 63 52 45 56 47 65 | 6e 65 72 61 6c 5b 74 65 |e cREVGe|neral[te|
|00004c50| 6d 70 53 63 72 69 70 74 | 5d 20 6f 66 20 74 68 65 |mpScript|] of the|
|00004c60| 20 63 54 61 72 67 65 74 | 4f 62 6a 65 63 74 20 6f | cTarget|Object o|
|00004c70| 66 20 74 68 69 73 20 63 | 64 20 69 6e 74 6f 20 74 |f this c|d into t|
|00004c80| 4f 6c 64 53 63 72 69 70 | 74 0a 20 20 73 65 74 20 |OldScrip|t. set |
|00004c90| 74 68 65 20 68 74 6d 6c | 54 65 78 74 20 6f 66 20 |the html|Text of |
|00004ca0| 66 6c 64 20 22 68 69 64 | 64 65 6e 20 74 65 78 74 |fld "hid|den text|
|00004cb0| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 22 20 74 6f 20 | convers|ion" to |
|00004cc0| 74 4f 6c 64 53 63 72 69 | 70 74 0a 20 20 69 66 20 |tOldScri|pt. if |
|00004cd0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00004ce0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 61 6e 73 |t empty |then ans|
|00004cf0| 77 65 72 20 74 68 65 20 | 72 65 73 75 6c 74 0a 20 |wer the |result. |
|00004d00| 20 73 65 74 20 74 68 65 | 20 73 63 72 69 70 74 20 | set the| script |
|00004d10| 6f 66 20 74 68 65 20 63 | 54 61 72 67 65 74 4f 62 |of the c|TargetOb|
|00004d20| 6a 65 63 74 20 6f 66 20 | 74 68 69 73 20 63 64 20 |ject of |this cd |
|00004d30| 74 6f 20 66 6c 64 20 22 | 68 69 64 64 65 6e 20 74 |to fld "|hidden t|
|00004d40| 65 78 74 20 63 6f 6e 76 | 65 72 73 69 6f 6e 22 0a |ext conv|ersion".|
|00004d50| 0a 20 20 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |. if th|e result|
|00004d60| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 61 6e | is not |empty an|
|00004d70| 64 20 69 74 65 6d 20 32 | 20 6f 66 20 74 68 65 20 |d item 2| of the |
|00004d80| 72 65 73 75 6c 74 20 69 | 73 20 30 20 74 68 65 6e |result i|s 0 then|
|00004d90| 20 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 74 | put tru|e into t|
|00004da0| 50 61 73 73 0a 0a 20 20 | 69 66 20 74 68 65 20 72 |Pass.. |if the r|
|00004db0| 65 73 75 6c 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |esult is| not emp|
|00004dc0| 74 79 20 74 68 65 6e 0a | 20 20 20 20 70 75 74 20 |ty then.| put |
|00004dd0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 6e 74 6f 20 |the resu|lt into |
|00004de0| 74 52 65 73 75 6c 74 0a | 20 20 20 20 70 75 74 20 |tResult.| put |
|00004df0| 6c 69 6e 65 20 28 69 74 | 65 6d 20 31 20 6f 66 20 |line (it|em 1 of |
|00004e00| 74 52 65 73 75 6c 74 29 | 20 6f 66 20 74 68 65 20 |tResult)| of the |
|00004e10| 63 53 63 72 69 70 74 45 | 72 72 6f 72 73 20 6f 66 |cScriptE|rrors of|
|00004e20| 20 63 64 20 31 20 6f 66 | 20 73 74 61 63 6b 20 22 | cd 1 of| stack "|
|00004e30| 72 65 76 45 72 72 6f 72 | 44 69 73 70 6c 61 79 22 |revError|Display"|
|00004e40| 20 69 6e 74 6f 20 74 44 | 65 73 63 72 69 70 74 69 | into tD|escripti|
|00004e50| 6f 6e 0a 20 20 20 20 20 | 20 20 69 66 20 22 6c 69 |on. | if "li|
|00004e60| 63 65 6e 73 65 20 6c 69 | 6d 69 74 22 20 69 73 20 |cense li|mit" is |
|00004e70| 69 6e 20 74 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |in tDesc|ription |
|00004e80| 74 68 65 6e 20 70 75 74 | 20 66 61 6c 73 65 20 69 |then put| false i|
|00004e90| 6e 74 6f 20 74 50 61 73 | 73 0a 20 20 20 20 2d 2d |nto tPas|s. --|
|00004ea0| 20 20 20 20 20 20 62 65 | 65 70 0a 20 20 20 20 2d | be|ep. -|
|00004eb0| 2d 20 20 20 20 20 20 61 | 6e 73 77 65 72 20 65 72 |- a|nswer er|
|00004ec0| 72 6f 72 20 22 45 72 72 | 6f 72 20 73 65 74 74 69 |ror "Err|or setti|
|00004ed0| 6e 67 20 73 63 72 69 70 | 74 3a 20 6c 69 63 65 6e |ng scrip|t: licen|
|00004ee0| 73 65 20 6c 69 6d 69 74 | 20 65 78 63 65 65 64 65 |se limit| exceede|
|00004ef0| 64 2e 20 20 59 6f 75 20 | 63 61 6e 6e 6f 74 20 75 |d. You |cannot u|
|00004f00| 73 65 20 74 68 65 20 53 | 74 61 72 74 65 72 20 4b |se the S|tarter K|
|00004f10| 69 74 20 74 6f 20 65 64 | 69 74 20 61 20 73 63 72 |it to ed|it a scr|
|00004f20| 69 70 74 20 6c 6f 6e 67 | 65 72 20 74 68 61 6e 20 |ipt long|er than |
|00004f30| 31 30 20 6c 69 6e 65 73 | 20 6c 6f 6e 67 2e 20 20 |10 lines| long. |
|00004f40| 50 6c 65 61 73 65 20 73 | 65 65 20 52 65 76 6f 6c |Please s|ee Revol|
|00004f50| 75 74 69 6f 6e 20 4c 69 | 63 65 6e 73 69 6e 67 20 |ution Li|censing |
|00004f60| 75 6e 64 65 72 20 74 68 | 65 20 48 65 6c 70 20 6d |under th|e Help m|
|00004f70| 65 6e 75 2e 22 20 77 69 | 74 68 20 22 4f 4b 22 0a |enu." wi|th "OK".|
|00004f80| 20 20 20 20 2d 2d 20 20 | 20 20 20 20 65 6e 61 62 | -- | enab|
|00004f90| 6c 65 20 62 74 6e 20 22 | 41 70 70 6c 79 22 0a 20 |le btn "|Apply". |
|00004fa0| 20 20 20 2d 2d 20 20 20 | 20 20 20 65 6e 61 62 6c | -- | enabl|
|00004fb0| 65 20 62 74 6e 20 22 52 | 65 76 65 72 74 22 0a 20 |e btn "R|evert". |
|00004fc0| 20 20 20 2d 2d 20 20 20 | 20 20 20 65 78 69 74 20 | -- | exit |
|00004fd0| 72 65 76 43 6f 6d 70 69 | 6c 65 53 63 72 69 70 74 |revCompi|leScript|
|00004fe0| 0a 20 20 20 20 2d 2d 20 | 20 20 20 65 6c 73 65 0a |. -- | else.|
|00004ff0| 20 20 20 20 69 66 20 74 | 50 61 73 73 20 69 73 20 | if t|Pass is |
|00005000| 6e 6f 74 20 74 72 75 65 | 20 61 6e 64 20 6e 6f 74 |not true| and not|
|00005010| 20 67 52 45 56 53 75 70 | 70 72 65 73 73 45 72 72 | gREVSup|pressErr|
|00005020| 6f 72 73 20 74 68 65 6e | 0a 20 20 20 20 20 20 73 |ors then|. s|
|00005030| 65 74 20 74 68 65 20 65 | 78 65 63 75 74 69 6f 6e |et the e|xecution|
|00005040| 45 72 72 6f 72 20 6f 66 | 20 73 74 61 63 6b 20 22 |Error of| stack "|
|00005050| 72 65 76 45 72 72 6f 72 | 44 69 73 70 6c 61 79 22 |revError|Display"|
|00005060| 20 74 6f 20 65 6d 70 74 | 79 0a 20 20 20 20 20 20 | to empt|y. |
|00005070| 73 65 74 20 74 68 65 20 | 73 63 72 69 70 74 45 72 |set the |scriptEr|
|00005080| 72 6f 72 20 6f 66 20 73 | 74 61 63 6b 20 22 72 65 |ror of s|tack "re|
|00005090| 76 45 72 72 6f 72 44 69 | 73 70 6c 61 79 22 20 74 |vErrorDi|splay" t|
|000050a0| 6f 20 74 52 65 73 75 6c | 74 0a 20 20 20 20 20 20 |o tResul|t. |
|000050b0| 73 65 74 20 74 68 65 20 | 65 72 72 6f 72 4f 62 6a |set the |errorObj|
|000050c0| 65 63 74 20 6f 66 20 73 | 74 61 63 6b 20 22 72 65 |ect of s|tack "re|
|000050d0| 76 45 72 72 6f 72 44 69 | 73 70 6c 61 79 22 20 74 |vErrorDi|splay" t|
|000050e0| 6f 20 74 68 65 20 63 54 | 61 72 67 65 74 4f 62 6a |o the cT|argetObj|
|000050f0| 65 63 74 20 6f 66 20 74 | 68 69 73 20 63 64 0a 20 |ect of t|his cd. |
|00005100| 20 20 20 20 20 69 66 20 | 74 68 65 20 6d 6f 64 65 | if |the mode|
|00005110| 20 6f 66 20 73 74 61 63 | 6b 20 22 72 65 76 45 72 | of stac|k "revEr|
|00005120| 72 6f 72 44 69 73 70 6c | 61 79 22 20 69 73 20 6e |rorDispl|ay" is n|
|00005130| 6f 74 20 30 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |ot 0 the|n. |
|00005140| 20 20 73 65 6e 64 20 22 | 70 72 65 4f 70 65 6e 43 | send "|preOpenC|
|00005150| 61 72 64 22 20 74 6f 20 | 63 64 20 31 20 6f 66 20 |ard" to |cd 1 of |
|00005160| 73 74 61 63 6b 20 22 72 | 65 76 45 72 72 6f 72 44 |stack "r|evErrorD|
|00005170| 69 73 70 6c 61 79 22 0a | 20 20 20 20 20 20 20 20 |isplay".| |
|00005180| 73 65 6e 64 20 22 6f 70 | 65 6e 63 61 72 64 22 20 |send "op|encard" |
|00005190| 74 6f 20 63 64 20 31 20 | 6f 66 20 73 74 61 63 6b |to cd 1 |of stack|
|000051a0| 20 22 72 65 76 45 72 72 | 6f 72 44 69 73 70 6c 61 | "revErr|orDispla|
|000051b0| 79 22 0a 20 20 20 20 20 | 20 65 6c 73 65 0a 20 20 |y". | else. |
|000051c0| 20 20 20 20 20 20 70 61 | 6c 65 74 74 65 20 22 72 | pa|lette "r|
|000051d0| 65 76 45 72 72 6f 72 44 | 69 73 70 6c 61 79 22 0a |evErrorD|isplay".|
|000051e0| 20 20 20 20 20 20 65 6e | 64 20 69 66 0a 20 20 20 | en|d if. |
|000051f0| 20 65 6e 64 20 69 66 0a | 20 20 65 6e 64 20 69 66 | end if.| end if|
|00005200| 0a 20 20 73 65 74 20 74 | 68 65 20 63 52 45 56 47 |. set t|he cREVG|
|00005210| 65 6e 65 72 61 6c 5b 73 | 63 72 69 70 74 43 68 65 |eneral[s|criptChe|
|00005220| 63 6b 73 75 6d 5d 20 6f | 66 20 74 68 65 20 63 54 |cksum] o|f the cT|
|00005230| 61 72 67 65 74 4f 62 6a | 65 63 74 20 6f 66 20 74 |argetObj|ect of t|
|00005240| 68 69 73 20 63 64 20 74 | 6f 20 6d 64 35 44 69 67 |his cd t|o md5Dig|
|00005250| 65 73 74 28 74 68 65 20 | 73 63 72 69 70 74 20 6f |est(the |script o|
|00005260| 66 20 74 68 65 20 63 54 | 61 72 67 65 74 4f 62 6a |f the cT|argetObj|
|00005270| 65 63 74 20 6f 66 20 74 | 68 69 73 20 63 64 29 0a |ect of t|his cd).|
|00005280| 20 20 73 65 74 20 74 68 | 65 20 63 43 68 65 63 6b | set th|e cCheck|
|00005290| 53 75 6d 20 6f 66 20 66 | 6c 64 20 22 73 63 72 69 |Sum of f|ld "scri|
|000052a0| 70 74 22 20 74 6f 20 6d | 64 35 44 69 67 65 73 74 |pt" to m|d5Digest|
|000052b0| 28 74 68 65 20 68 74 6d | 6c 54 65 78 74 20 6f 66 |(the htm|lText of|
|000052c0| 20 66 6c 64 20 22 73 63 | 72 69 70 74 22 29 0a 20 | fld "sc|ript"). |
|000052d0| 20 73 65 74 20 74 68 65 | 20 63 52 45 56 47 65 6e | set the| cREVGen|
|000052e0| 65 72 61 6c 5b 22 74 65 | 6d 70 53 63 72 69 70 74 |eral["te|mpScript|
|000052f0| 22 5d 20 6f 66 20 74 68 | 65 20 63 54 61 72 67 65 |"] of th|e cTarge|
|00005300| 74 4f 62 6a 65 63 74 20 | 6f 66 20 74 68 69 73 20 |tObject |of this |
|00005310| 63 64 20 74 6f 20 65 6d | 70 74 79 0a 20 20 69 66 |cd to em|pty. if|
|00005320| 20 28 6e 6f 74 20 6d 61 | 74 63 68 54 65 78 74 28 | (not ma|tchText(|
|00005330| 74 4f 6c 64 53 63 72 69 | 70 74 2c 20 22 3c 5b 5e |tOldScri|pt, "<[^|
|00005340| 50 5d 22 29 29 20 6f 72 | 20 28 74 68 65 20 70 61 |P]")) or| (the pa|
|00005350| 73 73 4b 65 79 20 6f 66 | 20 73 74 61 63 6b 20 72 |ssKey of| stack r|
|00005360| 65 76 54 61 72 67 65 74 | 53 74 61 63 6b 28 74 68 |evTarget|Stack(th|
|00005370| 65 20 63 54 61 72 67 65 | 74 4f 62 6a 65 63 74 20 |e cTarge|tObject |
|00005380| 6f 66 20 74 68 69 73 20 | 63 64 29 20 69 73 20 6e |of this |cd) is n|
|00005390| 6f 74 20 65 6d 70 74 79 | 29 20 74 68 65 6e 20 73 |ot empty|) then s|
|000053a0| 65 74 20 74 68 65 20 63 | 52 45 56 47 65 6e 65 72 |et the c|REVGener|
|000053b0| 61 6c 5b 22 73 63 72 69 | 70 74 22 5d 20 6f 66 20 |al["scri|pt"] of |
|000053c0| 74 68 65 20 63 54 61 72 | 67 65 74 4f 62 6a 65 63 |the cTar|getObjec|
|000053d0| 74 20 6f 66 20 74 68 69 | 73 20 63 64 20 74 6f 20 |t of thi|s cd to |
|000053e0| 65 6d 70 74 79 0a 20 20 | 65 6c 73 65 20 69 66 20 |empty. |else if |
|000053f0| 74 68 65 20 70 61 73 73 | 4b 65 79 20 6f 66 20 73 |the pass|Key of s|
|00005400| 74 61 63 6b 20 72 65 76 | 54 61 72 67 65 74 53 74 |tack rev|TargetSt|
|00005410| 61 63 6b 28 74 68 65 20 | 63 54 61 72 67 65 74 4f |ack(the |cTargetO|
|00005420| 62 6a 65 63 74 20 6f 66 | 20 74 68 69 73 20 63 64 |bject of| this cd|
|00005430| 29 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |) is emp|ty then |
|00005440| 73 65 74 20 74 68 65 20 | 63 52 45 56 47 65 6e 65 |set the |cREVGene|
|00005450| 72 61 6c 5b 22 73 63 72 | 69 70 74 22 5d 20 6f 66 |ral["scr|ipt"] of|
|00005460| 20 74 68 65 20 63 54 61 | 72 67 65 74 4f 62 6a 65 | the cTa|rgetObje|
|00005470| 63 74 20 6f 66 20 74 68 | 69 73 20 63 64 20 74 6f |ct of th|is cd to|
|00005480| 20 74 4f 6c 64 53 63 72 | 69 70 74 0a 20 20 70 75 | tOldScr|ipt. pu|
|00005490| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 66 6c 64 |t empty |into fld|
|000054a0| 20 22 68 69 64 64 65 6e | 20 74 65 78 74 20 63 6f | "hidden| text co|
|000054b0| 6e 76 65 72 73 69 6f 6e | 22 0a 20 20 2d 2d 68 61 |nversion|". --ha|
|000054c0| 6e 64 6c 65 72 73 20 6c | 69 73 74 0a 20 20 70 75 |ndlers l|ist. pu|
|000054d0| 74 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |t the sc|ript of |
|000054e0| 74 68 65 20 63 54 61 72 | 67 65 74 4f 62 6a 65 63 |the cTar|getObjec|
|000054f0| 74 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |t of thi|s cd int|
|00005500| 6f 20 74 53 63 72 69 70 | 74 0a 20 20 72 65 70 65 |o tScrip|t. repe|
|00005510| 61 74 20 66 6f 72 20 65 | 61 63 68 20 6c 69 6e 65 |at for e|ach line|
|00005520| 20 6c 20 69 6e 20 74 53 | 63 72 69 70 74 0a 20 20 | l in tS|cript. |
|00005530| 20 20 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 6c | if wor|d 1 of l|
|00005540| 20 69 73 20 61 6d 6f 6e | 67 20 74 68 65 20 69 74 | is amon|g the it|
|00005550| 65 6d 73 20 6f 66 20 22 | 6f 6e 2c 73 65 74 50 72 |ems of "|on,setPr|
|00005560| 6f 70 2c 66 75 6e 63 74 | 69 6f 6e 2c 67 65 74 50 |op,funct|ion,getP|
|00005570| 72 6f 70 22 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |rop" the|n. |
|00005580| 70 75 74 20 77 6f 72 64 | 20 32 20 6f 66 20 6c 20 |put word| 2 of l |
|00005590| 26 20 63 72 20 61 66 74 | 65 72 20 74 48 61 6e 64 |& cr aft|er tHand|
|000055a0| 6c 65 72 73 4c 69 73 74 | 0a 20 20 20 20 65 6e 64 |lersList|. end|
|000055b0| 20 69 66 0a 20 20 65 6e | 64 20 72 65 70 65 61 74 | if. en|d repeat|
|000055c0| 0a 20 20 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |. if li|ne 1 of |
|000055d0| 74 48 61 6e 64 6c 65 72 | 73 4c 69 73 74 20 69 73 |tHandler|sList is|
|000055e0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 64 65 6c 65 | empty t|hen dele|
|000055f0| 74 65 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 48 61 |te line |1 of tHa|
|00005600| 6e 64 6c 65 72 73 4c 69 | 73 74 0a 20 20 69 66 20 |ndlersLi|st. if |
|00005610| 63 68 61 72 54 6f 4e 75 | 6d 28 6c 61 73 74 20 63 |charToNu|m(last c|
|00005620| 68 61 72 20 6f 66 20 74 | 48 61 6e 64 6c 65 72 73 |har of t|Handlers|
|00005630| 4c 69 73 74 29 20 69 73 | 20 31 30 20 74 68 65 6e |List) is| 10 then|
|00005640| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|00005650| 72 20 6f 66 20 74 48 61 | 6e 64 6c 65 72 73 4c 69 |r of tHa|ndlersLi|
|00005660| 73 74 0a 20 20 73 65 74 | 20 74 68 65 20 63 52 45 |st. set| the cRE|
|00005670| 56 47 65 6e 65 72 61 6c | 5b 68 61 6e 64 6c 65 72 |VGeneral|[handler|
|00005680| 4c 69 73 74 5d 20 6f 66 | 20 74 68 65 20 63 54 61 |List] of| the cTa|
|00005690| 72 67 65 74 4f 62 6a 65 | 63 74 20 6f 66 20 74 68 |rgetObje|ct of th|
|000056a0| 69 73 20 63 64 20 74 6f | 20 74 48 61 6e 64 6c 65 |is cd to| tHandle|
|000056b0| 72 73 4c 69 73 74 0a 20 | 20 73 65 74 20 74 68 65 |rsList. | set the|
|000056c0| 20 63 53 63 72 69 70 74 | 53 61 76 65 64 20 6f 66 | cScript|Saved of|
|000056d0| 20 74 68 69 73 20 63 64 | 20 74 6f 20 74 72 75 65 | this cd| to true|
|000056e0| 0a 20 20 72 65 76 53 65 | 74 45 64 69 74 65 64 20 |. revSe|tEdited |
|000056f0| 72 65 76 54 61 72 67 65 | 74 53 74 61 63 6b 28 74 |revTarge|tStack(t|
|00005700| 68 65 20 63 54 61 72 67 | 65 74 4f 62 6a 65 63 74 |he cTarg|etObject|
|00005710| 20 6f 66 20 74 68 69 73 | 20 63 64 29 0a 20 20 69 | of this| cd). i|
|00005720| 66 20 74 68 65 20 6d 6f | 64 65 20 6f 66 20 73 74 |f the mo|de of st|
|00005730| 61 63 6b 20 22 72 65 76 | 41 70 70 6c 69 63 61 74 |ack "rev|Applicat|
|00005740| 69 6f 6e 4f 76 65 72 76 | 69 65 77 22 20 69 73 20 |ionOverv|iew" is |
|00005750| 6e 6f 74 20 30 20 61 6e | 64 20 74 68 65 20 63 52 |not 0 an|d the cR|
|00005760| 45 56 4d 6f 64 65 20 6f | 66 20 73 74 61 63 6b 20 |EVMode o|f stack |
|00005770| 22 72 65 76 41 70 70 6c | 69 63 61 74 69 6f 6e 4f |"revAppl|icationO|
|00005780| 76 65 72 76 69 65 77 22 | 20 69 73 20 6e 6f 74 20 |verview"| is not |
|00005790| 69 6e 20 22 41 75 64 69 | 6f 63 6c 69 70 73 56 69 |in "Audi|oclipsVi|
|000057a0| 64 65 6f 63 6c 69 70 73 | 45 78 74 65 72 6e 61 6c |deoclips|External|
|000057b0| 73 52 65 73 6f 75 72 63 | 65 73 22 0a 20 20 74 68 |sResourc|es". th|
|000057c0| 65 6e 20 73 65 6e 64 20 | 22 72 65 76 55 70 64 61 |en send |"revUpda|
|000057d0| 74 65 53 63 72 69 70 74 | 4c 69 73 74 69 6e 67 73 |teScript|Listings|
|000057e0| 22 20 74 6f 20 74 68 69 | 73 20 63 64 20 6f 66 20 |" to thi|s cd of |
|000057f0| 73 74 61 63 6b 20 22 72 | 65 76 41 70 70 6c 69 63 |stack "r|evApplic|
|00005800| 61 74 69 6f 6e 4f 76 65 | 72 76 69 65 77 22 0a 65 |ationOve|rview".e|
|00005810| 6e 64 20 72 65 76 43 6f | 6d 70 69 6c 65 53 63 72 |nd revCo|mpileScr|
|00005820| 69 70 74 0a 0a 73 65 74 | 50 72 6f 70 20 63 54 61 |ipt..set|Prop cTa|
|00005830| 72 67 65 74 4f 62 6a 65 | 63 74 20 70 57 68 69 63 |rgetObje|ct pWhic|
|00005840| 68 0a 20 20 67 6c 6f 62 | 61 6c 20 67 52 45 56 53 |h. glob|al gREVS|
|00005850| 65 6c 65 63 74 53 63 72 | 69 70 74 43 68 75 6e 6b |electScr|iptChunk|
|00005860| 0a 20 20 73 65 74 20 74 | 68 65 20 63 53 63 72 69 |. set t|he cScri|
|00005870| 70 74 53 61 76 65 64 20 | 6f 66 20 74 68 69 73 20 |ptSaved |of this |
|00005880| 63 64 20 74 6f 20 74 72 | 75 65 0a 20 20 73 65 74 |cd to tr|ue. set|
|00005890| 20 74 68 65 20 63 54 61 | 72 67 65 74 4f 62 6a 65 | the cTa|rgetObje|
|000058a0| 63 74 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |ct of th|e target|
|000058b0| 20 74 6f 20 70 57 68 69 | 63 68 0a 20 20 73 65 74 | to pWhi|ch. set|
|000058c0| 20 74 68 65 20 63 50 72 | 65 76 69 6f 75 73 48 61 | the cPr|eviousHa|
|000058d0| 6e 64 6c 65 72 20 6f 66 | 20 74 68 69 73 20 63 64 |ndler of| this cd|
|000058e0| 20 74 6f 20 65 6d 70 74 | 79 0a 0a 20 20 69 66 20 | to empt|y.. if |
|000058f0| 74 68 65 20 70 61 73 73 | 4b 65 79 20 6f 66 20 73 |the pass|Key of s|
|00005900| 74 61 63 6b 20 72 65 76 | 54 61 72 67 65 74 53 74 |tack rev|TargetSt|
|00005910| 61 63 6b 28 70 57 68 69 | 63 68 29 20 69 73 20 74 |ack(pWhi|ch) is t|
|00005920| 68 65 20 70 61 73 73 77 | 6f 72 64 20 6f 66 20 73 |he passw|ord of s|
|00005930| 74 61 63 6b 20 72 65 76 | 54 61 72 67 65 74 53 74 |tack rev|TargetSt|
|00005940| 61 63 6b 28 70 57 68 69 | 63 68 29 20 74 68 65 6e |ack(pWhi|ch) then|
|00005950| 0a 20 20 20 20 69 66 20 | 6d 64 35 44 69 67 65 73 |. if |md5Diges|
|00005960| 74 28 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |t(the sc|ript of |
|00005970| 70 57 68 69 63 68 29 20 | 69 73 20 6e 6f 74 20 74 |pWhich) |is not t|
|00005980| 68 65 20 63 52 45 56 47 | 65 6e 65 72 61 6c 5b 73 |he cREVG|eneral[s|
|00005990| 63 72 69 70 74 43 68 65 | 63 6b 73 75 6d 5d 20 6f |criptChe|cksum] o|
|000059a0| 66 20 70 57 68 69 63 68 | 20 74 68 65 6e 0a 20 20 |f pWhich| then. |
|000059b0| 20 20 20 20 73 65 74 20 | 74 68 65 20 63 52 45 56 | set |the cREV|
|000059c0| 47 65 6e 65 72 61 6c 5b | 22 73 63 72 69 70 74 22 |General[|"script"|
|000059d0| 5d 20 6f 66 20 70 57 68 | 69 63 68 20 74 6f 20 65 |] of pWh|ich to e|
|000059e0| 6d 70 74 79 0a 20 20 20 | 20 65 6e 64 20 69 66 0a |mpty. | end if.|
|000059f0| 20 20 65 6e 64 20 69 66 | 0a 20 20 74 72 79 0a 20 | end if|. try. |
|00005a00| 20 20 20 69 66 20 74 68 | 65 20 70 61 73 73 4b 65 | if th|e passKe|
|00005a10| 79 20 6f 66 20 73 74 61 | 63 6b 20 72 65 76 54 61 |y of sta|ck revTa|
|00005a20| 72 67 65 74 53 74 61 63 | 6b 28 70 57 68 69 63 68 |rgetStac|k(pWhich|
|00005a30| 29 20 69 73 20 6e 6f 74 | 20 74 68 65 20 70 61 73 |) is not| the pas|
|00005a40| 73 77 6f 72 64 20 6f 66 | 20 73 74 61 63 6b 20 72 |sword of| stack r|
|00005a50| 65 76 54 61 72 67 65 74 | 53 74 61 63 6b 28 70 57 |evTarget|Stack(pW|
|00005a60| 68 69 63 68 29 20 74 68 | 65 6e 20 74 68 72 6f 77 |hich) th|en throw|
|00005a70| 20 22 70 61 73 73 77 6f | 72 64 22 0a 20 20 20 20 | "passwo|rd". |
|00005a80| 70 75 74 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |put the |script o|
|00005a90| 66 20 70 57 68 69 63 68 | 20 69 73 20 65 6d 70 74 |f pWhich| is empt|
|00005aa0| 79 20 69 6e 74 6f 20 74 | 56 61 72 0a 20 20 63 61 |y into t|Var. ca|
|00005ab0| 74 63 68 20 73 6f 6d 65 | 45 72 72 6f 72 0a 20 20 |tch some|Error. |
|00005ac0| 20 20 2d 2d 75 73 65 20 | 6e 65 67 61 74 69 76 65 | --use |negative|
|00005ad0| 20 63 68 75 6e 6b 20 65 | 78 70 72 65 73 73 69 6f | chunk e|xpressio|
|00005ae0| 6e 20 74 6f 20 70 72 6f | 76 69 64 65 20 66 6f 72 |n to pro|vide for|
|00005af0| 20 63 61 73 65 73 20 77 | 68 65 72 65 20 70 72 65 | cases w|here pre|
|00005b00| 76 69 6f 75 73 20 65 72 | 72 6f 72 73 20 61 72 65 |vious er|rors are|
|00005b10| 20 69 6e 63 6c 75 64 65 | 64 20 69 6e 20 73 6f 6d | include|d in som|
|00005b20| 65 45 72 72 6f 72 0a 20 | 20 20 20 70 75 74 20 6c |eError. | put l|
|00005b30| 69 6e 65 20 28 69 74 65 | 6d 20 31 20 6c 69 6e 65 |ine (ite|m 1 line|
|00005b40| 20 2d 20 36 20 6f 66 20 | 73 6f 6d 65 45 72 72 6f | - 6 of |someErro|
|00005b50| 72 29 20 6f 66 20 74 68 | 65 20 63 45 72 72 6f 72 |r) of th|e cError|
|00005b60| 73 4c 69 73 74 20 6f 66 | 20 63 64 20 31 20 6f 66 |sList of| cd 1 of|
|00005b70| 20 73 74 61 63 6b 20 22 | 72 65 76 45 72 72 6f 72 | stack "|revError|
|00005b80| 44 69 73 70 6c 61 79 22 | 20 69 6e 74 6f 20 74 44 |Display"| into tD|
|00005b90| 65 73 63 72 69 70 74 69 | 6f 6e 0a 20 20 20 20 69 |escripti|on. i|
|00005ba0| 66 20 22 70 61 73 73 77 | 6f 72 64 22 20 69 73 20 |f "passw|ord" is |
|00005bb0| 69 6e 20 74 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |in tDesc|ription |
|00005bc0| 6f 72 20 73 6f 6d 65 45 | 72 72 6f 72 20 69 73 20 |or someE|rror is |
|00005bd0| 22 70 61 73 73 77 6f 72 | 64 22 20 74 68 65 6e 0a |"passwor|d" then.|
|00005be0| 20 20 20 20 20 20 73 65 | 74 20 74 68 65 20 74 6f | se|t the to|
|00005bf0| 70 4c 65 66 74 20 6f 66 | 20 67 72 6f 75 70 20 22 |pLeft of| group "|
|00005c00| 70 61 73 73 77 6f 72 64 | 20 70 72 6f 74 65 63 74 |password| protect|
|00005c10| 65 64 22 20 74 6f 20 30 | 2c 34 30 0a 20 20 20 20 |ed" to 0|,40. |
|00005c20| 20 20 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f | set th|e rect o|
|00005c30| 66 20 67 72 63 20 31 20 | 6f 66 20 67 72 6f 75 70 |f grc 1 |of group|
|00005c40| 20 22 70 61 73 73 77 6f | 72 64 20 70 72 6f 74 65 | "passwo|rd prote|
|00005c50| 63 74 65 64 22 20 74 6f | 20 30 2c 34 34 2c 32 35 |cted" to| 0,44,25|
|00005c60| 30 30 2c 32 35 30 30 0a | 20 20 20 20 20 20 66 6f |00,2500.| fo|
|00005c70| 63 75 73 20 66 6c 64 20 | 31 20 6f 66 20 67 72 6f |cus fld |1 of gro|
|00005c80| 75 70 20 22 70 61 73 73 | 77 6f 72 64 20 70 72 6f |up "pass|word pro|
|00005c90| 74 65 63 74 65 64 22 0a | 20 20 20 20 20 20 65 78 |tected".| ex|
|00005ca0| 69 74 20 63 54 61 72 67 | 65 74 4f 62 6a 65 63 74 |it cTarg|etObject|
|00005cb0| 0a 20 20 20 20 65 6e 64 | 20 69 66 0a 20 20 65 6e |. end| if. en|
|00005cc0| 64 20 74 72 79 0a 0a 20 | 20 69 66 20 74 68 65 20 |d try.. | if the |
|00005cd0| 63 52 45 56 47 65 6e 65 | 72 61 6c 5b 22 73 63 72 |cREVGene|ral["scr|
|00005ce0| 69 70 74 22 5d 20 6f 66 | 20 70 57 68 69 63 68 20 |ipt"] of| pWhich |
|00005cf0| 69 73 20 65 6d 70 74 79 | 20 6f 72 20 74 68 65 20 |is empty| or the |
|00005d00| 63 52 45 56 47 65 6e 65 | 72 61 6c 5b 68 61 6e 64 |cREVGene|ral[hand|
|00005d10| 6c 65 72 4c 69 73 74 5d | 20 6f 66 20 70 57 68 69 |lerList]| of pWhi|
|00005d20| 63 68 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |ch is em|pty then|
|00005d30| 0a 20 20 20 20 72 65 76 | 53 70 6c 69 74 53 63 72 |. rev|SplitScr|
|00005d40| 69 70 74 20 70 57 68 69 | 63 68 0a 20 20 20 20 73 |ipt pWhi|ch. s|
|00005d50| 65 74 20 74 68 65 20 63 | 52 45 56 47 65 6e 65 72 |et the c|REVGener|
|00005d60| 61 6c 5b 74 65 6d 70 53 | 63 72 69 70 74 5d 20 6f |al[tempS|cript] o|
|00005d70| 66 20 70 57 68 69 63 68 | 20 74 6f 20 72 65 76 47 |f pWhich| to revG|
|00005d80| 65 74 53 63 72 69 70 74 | 28 29 0a 20 20 65 6c 73 |etScript|(). els|
|00005d90| 65 0a 20 20 20 20 73 65 | 74 20 74 68 65 20 63 52 |e. se|t the cR|
|00005da0| 45 56 47 65 6e 65 72 61 | 6c 5b 74 65 6d 70 53 63 |EVGenera|l[tempSc|
|00005db0| 72 69 70 74 5d 20 6f 66 | 20 70 57 68 69 63 68 20 |ript] of| pWhich |
|00005dc0| 74 6f 20 72 65 76 47 65 | 74 53 63 72 69 70 74 28 |to revGe|tScript(|
|00005dd0| 29 0a 20 20 20 20 69 66 | 20 74 68 65 20 63 53 6f |). if| the cSo|
|00005de0| 72 74 20 6f 66 20 74 68 | 69 73 20 63 64 20 74 68 |rt of th|is cd th|
|00005df0| 65 6e 0a 20 20 20 20 20 | 20 70 75 74 20 74 68 65 |en. | put the|
|00005e00| 20 63 52 45 56 47 65 6e | 65 72 61 6c 5b 68 61 6e | cREVGen|eral[han|
|00005e10| 64 6c 65 72 4c 69 73 74 | 5d 20 6f 66 20 70 57 68 |dlerList|] of pWh|
|00005e20| 69 63 68 20 69 6e 74 6f | 20 74 48 61 6e 64 6c 65 |ich into| tHandle|
|00005e30| 72 73 0a 20 20 20 20 20 | 20 73 65 74 20 74 68 65 |rs. | set the|
|00005e40| 20 63 55 6e 73 6f 72 74 | 65 64 54 65 78 74 20 6f | cUnsort|edText o|
|00005e50| 66 20 62 74 6e 20 22 68 | 61 6e 64 6c 65 72 73 22 |f btn "h|andlers"|
|00005e60| 20 74 6f 20 74 48 61 6e | 64 6c 65 72 73 0a 20 20 | to tHan|dlers. |
|00005e70| 20 20 20 20 73 6f 72 74 | 20 6c 69 6e 65 73 20 6f | sort| lines o|
|00005e80| 66 20 74 48 61 6e 64 6c | 65 72 73 0a 20 20 20 20 |f tHandl|ers. |
|00005e90| 20 20 73 65 74 20 74 68 | 65 20 74 65 78 74 20 6f | set th|e text o|
|00005ea0| 66 20 62 74 6e 20 22 68 | 61 6e 64 6c 65 72 73 22 |f btn "h|andlers"|
|00005eb0| 20 74 6f 20 74 48 61 6e | 64 6c 65 72 73 0a 20 20 | to tHan|dlers. |
|00005ec0| 20 20 20 20 73 65 74 20 | 74 68 65 20 74 65 78 74 | set |the text|
|00005ed0| 20 6f 66 20 66 6c 64 20 | 22 68 61 6e 64 6c 65 72 | of fld |"handler|
|00005ee0| 20 6c 69 73 74 22 20 74 | 6f 20 74 68 65 20 74 65 | list" t|o the te|
|00005ef0| 78 74 20 6f 66 20 62 74 | 6e 20 22 68 61 6e 64 6c |xt of bt|n "handl|
|00005f00| 65 72 73 22 0a 20 20 20 | 20 65 6c 73 65 0a 20 20 |ers". | else. |
|00005f10| 20 20 20 20 73 65 74 20 | 74 68 65 20 74 65 78 74 | set |the text|
|00005f20| 20 6f 66 20 62 74 6e 20 | 22 68 61 6e 64 6c 65 72 | of btn |"handler|
|00005f30| 73 22 20 74 6f 20 74 68 | 65 20 63 52 45 56 47 65 |s" to th|e cREVGe|
|00005f40| 6e 65 72 61 6c 5b 68 61 | 6e 64 6c 65 72 4c 69 73 |neral[ha|ndlerLis|
|00005f50| 74 5d 20 6f 66 20 70 57 | 68 69 63 68 0a 20 20 20 |t] of pW|hich. |
|00005f60| 20 20 20 73 65 74 20 74 | 68 65 20 74 65 78 74 20 | set t|he text |
|00005f70| 6f 66 20 66 6c 64 20 22 | 68 61 6e 64 6c 65 72 20 |of fld "|handler |
|00005f80| 6c 69 73 74 22 20 74 6f | 20 74 68 65 20 74 65 78 |list" to| the tex|
|00005f90| 74 20 6f 66 20 62 74 6e | 20 22 68 61 6e 64 6c 65 |t of btn| "handle|
|00005fa0| 72 73 22 0a 20 20 20 20 | 65 6e 64 20 69 66 0a 0a |rs". |end if..|
|00005fb0| 20 20 20 20 70 75 74 20 | 28 6c 69 6e 65 20 31 20 | put |(line 1 |
|00005fc0| 74 6f 20 32 20 6f 66 20 | 74 68 65 20 74 65 78 74 |to 2 of |the text|
|00005fd0| 20 6f 66 20 62 74 6e 20 | 22 62 6f 6f 6b 6d 61 72 | of btn |"bookmar|
|00005fe0| 6b 73 22 20 26 20 63 72 | 20 26 20 74 68 65 20 63 |ks" & cr| & the c|
|00005ff0| 52 45 56 47 65 6e 65 72 | 61 6c 5b 62 6f 6f 6b 4d |REVGener|al[bookM|
|00006000| 61 72 6b 73 5d 20 6f 66 | 20 70 57 68 69 63 68 29 |arks] of| pWhich)|
|00006010| 20 69 6e 74 6f 20 74 42 | 6f 6f 6b 4d 61 72 6b 73 | into tB|ookMarks|
|00006020| 0a 20 20 20 20 69 66 20 | 6c 69 6e 65 20 33 20 6f |. if |line 3 o|
|00006030| 66 20 74 42 6f 6f 6b 4d | 61 72 6b 73 20 69 73 20 |f tBookM|arks is |
|00006040| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 22 |empty th|en put "|
|00006050| 28 4e 6f 20 42 6f 6f 6b | 6d 61 72 6b 73 22 20 69 |(No Book|marks" i|
|00006060| 6e 74 6f 20 6c 69 6e 65 | 20 33 20 6f 66 20 74 42 |nto line| 3 of tB|
|00006070| 6f 6f 6b 6d 61 72 6b 73 | 0a 20 20 20 20 69 66 20 |ookmarks|. if |
|00006080| 74 68 65 20 70 6c 61 74 | 66 6f 72 6d 20 69 73 20 |the plat|form is |
|00006090| 6e 6f 74 20 22 4d 61 63 | 4f 53 22 20 74 68 65 6e |not "Mac|OS" then|
|000060a0| 20 73 65 74 20 74 68 65 | 20 74 65 78 74 20 6f 66 | set the| text of|
|000060b0| 20 62 74 6e 20 22 62 6f | 6f 6b 6d 61 72 6b 73 22 | btn "bo|okmarks"|
|000060c0| 20 74 6f 20 74 42 6f 6f | 6b 6d 61 72 6b 73 0a 20 | to tBoo|kmarks. |
|000060d0| 20 20 20 65 6c 73 65 20 | 73 65 74 20 74 68 65 20 | else |set the |
|000060e0| 74 65 78 74 20 6f 66 20 | 62 74 6e 20 22 62 6f 6f |text of |btn "boo|
|000060f0| 6b 6d 61 72 6b 73 22 20 | 6f 66 20 73 74 61 63 6b |kmarks" |of stack|
|00006100| 20 22 72 65 76 53 63 72 | 69 70 74 4d 65 6e 75 73 | "revScr|iptMenus|
|00006110| 22 20 74 6f 20 74 42 6f | 6f 6b 6d 61 72 6b 73 0a |" to tBo|okmarks.|
|00006120| 20 20 65 6e 64 20 69 66 | 0a 0a 20 20 69 66 20 67 | end if|.. if g|
|00006130| 52 45 56 53 65 6c 65 63 | 74 53 63 72 69 70 74 43 |REVSelec|tScriptC|
|00006140| 68 75 6e 6b 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |hunk is |not empt|
|00006150| 79 20 61 6e 64 20 74 68 | 65 20 63 53 68 6f 77 41 |y and th|e cShowA|
|00006160| 73 48 61 6e 64 6c 65 72 | 73 20 6f 66 20 74 68 69 |sHandler|s of thi|
|00006170| 73 20 63 64 20 74 68 65 | 6e 0a 20 20 20 20 2d 2d |s cd the|n. --|
|00006180| 6d 61 70 20 65 72 72 6f | 72 20 6d 65 73 73 61 67 |map erro|r messag|
|00006190| 65 20 74 6f 20 73 68 6f | 77 41 73 48 61 6e 64 6c |e to sho|wAsHandl|
|000061a0| 65 72 73 0a 20 20 20 20 | 70 75 74 20 6c 61 73 74 |ers. |put last|
|000061b0| 20 77 6f 72 64 20 6f 66 | 20 67 52 45 56 53 65 6c | word of| gREVSel|
|000061c0| 65 63 74 53 63 72 69 70 | 74 43 68 75 6e 6b 20 69 |ectScrip|tChunk i|
|000061d0| 6e 74 6f 20 74 4c 69 6e | 65 0a 20 20 20 20 70 75 |nto tLin|e. pu|
|000061e0| 74 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |t the sc|ript of |
|000061f0| 70 57 68 69 63 68 20 69 | 6e 74 6f 20 74 53 63 72 |pWhich i|nto tScr|
|00006200| 69 70 74 0a 20 20 20 20 | 72 65 70 65 61 74 20 77 |ipt. |repeat w|
|00006210| 69 74 68 20 69 20 3d 20 | 74 4c 69 6e 65 20 64 6f |ith i = |tLine do|
|00006220| 77 6e 20 74 6f 20 30 0a | 20 20 20 20 20 20 69 66 |wn to 0.| if|
|00006230| 20 77 6f 72 64 20 31 20 | 6f 66 20 6c 69 6e 65 20 | word 1 |of line |
|00006240| 69 20 6f 66 20 74 53 63 | 72 69 70 74 20 69 73 20 |i of tSc|ript is |
|00006250| 61 6d 6f 6e 67 20 74 68 | 65 20 69 74 65 6d 73 20 |among th|e items |
|00006260| 6f 66 20 22 6f 6e 2c 66 | 75 6e 63 74 69 6f 6e 2c |of "on,f|unction,|
|00006270| 67 65 74 70 72 6f 70 2c | 73 65 74 70 72 6f 70 22 |getprop,|setprop"|
|00006280| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|00006290| 74 0a 20 20 20 20 65 6e | 64 20 72 65 70 65 61 74 |t. en|d repeat|
|000062a0| 0a 20 20 20 20 69 66 20 | 69 20 69 73 20 30 20 74 |. if |i is 0 t|
|000062b0| 68 65 6e 0a 20 20 20 20 | 20 20 73 65 6e 64 20 22 |hen. | send "|
|000062c0| 6d 65 6e 75 50 69 63 6b | 22 20 26 26 20 74 68 65 |menuPick|" && the|
|000062d0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 74 68 65 20 74 | line 1 |of the t|
|000062e0| 65 78 74 20 6f 66 20 62 | 74 6e 20 22 68 61 6e 64 |ext of b|tn "hand|
|000062f0| 6c 65 72 73 22 20 74 6f | 20 62 74 6e 20 22 68 61 |lers" to| btn "ha|
|00006300| 6e 64 6c 65 72 73 22 0a | 20 20 20 20 65 6c 73 65 |ndlers".| else|
|00006310| 0a 20 20 20 20 20 20 70 | 75 74 20 77 6f 72 64 20 |. p|ut word |
|00006320| 32 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 74 |2 of lin|e i of t|
|00006330| 53 63 72 69 70 74 20 69 | 6e 74 6f 20 74 48 61 6e |Script i|nto tHan|
|00006340| 64 6c 65 72 0a 20 20 20 | 20 20 20 73 65 6e 64 20 |dler. | send |
|00006350| 22 6d 65 6e 75 50 69 63 | 6b 22 20 26 26 20 74 48 |"menuPic|k" && tH|
|00006360| 61 6e 64 6c 65 72 20 74 | 6f 20 62 74 6e 20 22 68 |andler t|o btn "h|
|00006370| 61 6e 64 6c 65 72 73 22 | 0a 20 20 20 20 65 6e 64 |andlers"|. end|
|00006380| 20 69 66 0a 0a 20 20 20 | 20 70 75 74 20 6c 69 6e | if.. | put lin|
|00006390| 65 20 74 4c 69 6e 65 20 | 6f 66 20 74 53 63 72 69 |e tLine |of tScri|
|000063a0| 70 74 20 69 6e 74 6f 20 | 74 4f 66 66 73 65 74 0a |pt into |tOffset.|
|000063b0| 20 20 20 20 70 75 74 20 | 74 68 65 20 6e 75 6d 62 | put |the numb|
|000063c0| 65 72 20 6f 66 20 63 68 | 61 72 73 20 69 6e 20 72 |er of ch|ars in r|
|000063d0| 65 76 52 65 74 75 72 6e | 53 70 61 63 65 73 28 74 |evReturn|Spaces(t|
|000063e0| 4f 66 66 73 65 74 29 20 | 69 6e 74 6f 20 74 53 70 |Offset) |into tSp|
|000063f0| 61 63 65 73 0a 20 20 20 | 20 64 65 6c 65 74 65 20 |aces. | delete |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.